mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 14:41:25 +00:00
Fix #2650. IFC selector only operates on visible objects.
This commit is contained in:
@@ -535,7 +535,7 @@ class FilterModelElements(Operator):
|
|||||||
sel_element_ids = [e.id() for e in query]
|
sel_element_ids = [e.id() for e in query]
|
||||||
bpy.ops.object.select_all(action="DESELECT")
|
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
|
obj.hide_set(False) # reset 3d view
|
||||||
|
|
||||||
if self.option == "select":
|
if self.option == "select":
|
||||||
|
|||||||
Reference in New Issue
Block a user