mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-16 21:42:19 +00:00
BBIM Drawings: Exclude ifc objects hidden from render view
This commit is contained in:
@@ -1528,7 +1528,7 @@ class Drawing(blenderbim.core.tool.Drawing):
|
|||||||
tool.Ifc.get_entity(o)
|
tool.Ifc.get_entity(o)
|
||||||
for o in objs
|
for o in objs
|
||||||
if cls.is_in_camera_view(o, camera_inverse_matrix, x, y, camera.data.clip_start, camera.data.clip_end)
|
if cls.is_in_camera_view(o, camera_inverse_matrix, x, y, camera.data.clip_start, camera.data.clip_end)
|
||||||
and tool.Ifc.get_entity(o)
|
and tool.Ifc.get_entity(o) and not o.hide_render
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user