From 57c32e55c2e3f4f2778d4efb9337e30c22b993e7 Mon Sep 17 00:00:00 2001 From: Dion Moult Date: Fri, 24 Mar 2023 18:25:33 +1100 Subject: [PATCH] Fix #2698. Bug where clash sets couldn't be visualised if you had one of the models open (i.e. not linked) in the active session. --- src/blenderbim/blenderbim/bim/module/clash/operator.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/blenderbim/blenderbim/bim/module/clash/operator.py b/src/blenderbim/blenderbim/bim/module/clash/operator.py index bfbb6eee8e..6c31fd3518 100644 --- a/src/blenderbim/blenderbim/bim/module/clash/operator.py +++ b/src/blenderbim/blenderbim/bim/module/clash/operator.py @@ -299,7 +299,8 @@ class SelectIfcClashResults(bpy.types.Operator): for scene in obj.users_scene: if scene.BIMProperties.ifc_file: ifc_file = scene.BIMProperties.ifc_file - break + if scene.library: + break if ifc_file: if ifc_file not in IfcStore.session_files: