Fix #2650. IFC selector only operates on visible objects.

This commit is contained in:
Dion Moult
2023-01-11 15:20:58 +11:00
parent 597b2bb0a8
commit 7e151799b0
@@ -535,7 +535,7 @@ class FilterModelElements(Operator):
sel_element_ids = [e.id() for e in query]
bpy.ops.object.select_all(action="DESELECT")
for obj in bpy.data.scenes["Scene"].objects:
for obj in context.visible_objects:
obj.hide_set(False) # reset 3d view
if self.option == "select":