mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +00:00
fix poll errors for clipping plane gizmo #4392
This commit is contained in:
@@ -34,6 +34,7 @@ class ClippingPlane(GizmoGroup):
|
||||
obj = context.object
|
||||
return (
|
||||
context.selected_objects
|
||||
and obj
|
||||
and obj.name.startswith("ClippingPlane")
|
||||
and obj in [sp.obj for sp in context.scene.BIMProjectProperties.clipping_planes]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user