mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +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]
|
||||
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":
|
||||
|
||||
Reference in New Issue
Block a user