mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 15:08:51 +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
|
obj = context.object
|
||||||
return (
|
return (
|
||||||
context.selected_objects
|
context.selected_objects
|
||||||
|
and obj
|
||||||
and obj.name.startswith("ClippingPlane")
|
and obj.name.startswith("ClippingPlane")
|
||||||
and obj in [sp.obj for sp in context.scene.BIMProjectProperties.clipping_planes]
|
and obj in [sp.obj for sp in context.scene.BIMProjectProperties.clipping_planes]
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user