mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-16 13:46:54 +00:00
Minor fix. Don't know all the answers.
This commit is contained in:
@@ -145,7 +145,10 @@ class UpdateRepresentation(bpy.types.Operator):
|
|||||||
self.file = IfcStore.get_file()
|
self.file = IfcStore.get_file()
|
||||||
|
|
||||||
for obj in objs:
|
for obj in objs:
|
||||||
if not hasattr(obj.data, "BIMMeshProperties"):
|
# TODO: write unit tests to see how this bulk operation handles
|
||||||
|
# contradictory ifc_representation_class values and when
|
||||||
|
# ifc_representation_class is IfcTextLiteral
|
||||||
|
if not obj.data:
|
||||||
continue
|
continue
|
||||||
self.update_obj_mesh_representation(context, obj)
|
self.update_obj_mesh_representation(context, obj)
|
||||||
IfcStore.edited_objs.discard(obj)
|
IfcStore.edited_objs.discard(obj)
|
||||||
|
|||||||
Reference in New Issue
Block a user