mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
Fix bug where item positions weren't synced before changing numeric attributes
This commit is contained in:
@@ -2840,6 +2840,7 @@ class UpdateItemAttributes(bpy.types.Operator, tool.Ifc.Operator):
|
||||
|
||||
def _execute(self, context):
|
||||
obj = context.active_object
|
||||
tool.Geometry.sync_item_positions()
|
||||
tool.Geometry.update_item_attributes(obj)
|
||||
tool.Geometry.reload_representation(bpy.context.scene.BIMGeometryProperties.representation_obj)
|
||||
tool.Geometry.import_item(obj)
|
||||
|
||||
Reference in New Issue
Block a user