From 24b4be3ea148579bf84dffc5632b45f1059cb878 Mon Sep 17 00:00:00 2001 From: Dion Moult Date: Wed, 12 Feb 2025 08:40:21 +1100 Subject: [PATCH] Fix bug where item positions weren't synced before changing numeric attributes --- src/bonsai/bonsai/bim/module/geometry/operator.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bonsai/bonsai/bim/module/geometry/operator.py b/src/bonsai/bonsai/bim/module/geometry/operator.py index 0eb8129003..dae963a240 100644 --- a/src/bonsai/bonsai/bim/module/geometry/operator.py +++ b/src/bonsai/bonsai/bim/module/geometry/operator.py @@ -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)