mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-10-03 13:28:19 +00:00
Fix #4553.
This commit is contained in:
@@ -733,7 +733,6 @@ class Drawing(blenderbim.core.tool.Drawing):
|
|||||||
|
|
||||||
obj.BIMObjectProperties.ifc_definition_id = ifc_definition_id
|
obj.BIMObjectProperties.ifc_definition_id = ifc_definition_id
|
||||||
|
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def import_drawings(cls):
|
def import_drawings(cls):
|
||||||
props = bpy.context.scene.DocProperties
|
props = bpy.context.scene.DocProperties
|
||||||
@@ -1808,7 +1807,11 @@ class Drawing(blenderbim.core.tool.Drawing):
|
|||||||
# Note that render visibility is only set on drawing generation time for speed.
|
# Note that render visibility is only set on drawing generation time for speed.
|
||||||
obj.hide_set(False)
|
obj.hide_set(False)
|
||||||
|
|
||||||
[obj.hide_set(False) for obj in bpy.context.view_layer.objects if obj.name not in element_obj_names]
|
[
|
||||||
|
obj.hide_set(False)
|
||||||
|
for obj in bpy.context.view_layer.objects
|
||||||
|
if obj.name not in element_obj_names and tool.Ifc.get_entity(obj)
|
||||||
|
]
|
||||||
|
|
||||||
cls.import_camera_props(drawing, camera)
|
cls.import_camera_props(drawing, camera)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user