mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-29 03:37:21 +00:00
Fix bug where aggregates were accidentally hidden when generating drawings
This commit is contained in:
@@ -2559,7 +2559,7 @@ class CutSection(bpy.types.Operator):
|
|||||||
obj.hide_set(True)
|
obj.hide_set(True)
|
||||||
for obj in bpy.context.visible_objects:
|
for obj in bpy.context.visible_objects:
|
||||||
if (
|
if (
|
||||||
not obj.data
|
(not obj.data and not obj.instance_collection)
|
||||||
or isinstance(obj.data, bpy.types.Camera)
|
or isinstance(obj.data, bpy.types.Camera)
|
||||||
or "IfcGrid/" in obj.name
|
or "IfcGrid/" in obj.name
|
||||||
or "IfcGridAxis/" in obj.name
|
or "IfcGridAxis/" in obj.name
|
||||||
|
|||||||
Reference in New Issue
Block a user