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.

This commit is contained in:
Dion Moult
2023-03-24 18:25:33 +11:00
parent de080a668f
commit 57c32e55c2
@@ -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: