Fix bim.copy_attribute_to_selection missing undo

This commit is contained in:
Andrej730
2025-01-22 16:00:02 +05:00
parent db93ca1067
commit 23a6721f8e
@@ -198,6 +198,7 @@ class CopyAttributeToSelection(bpy.types.Operator, tool.Ifc.Operator):
bl_idname = "bim.copy_attribute_to_selection"
bl_label = "Copy Attribute To Selection"
name: bpy.props.StringProperty()
bl_options = {"REGISTER", "UNDO"}
def _execute(self, context):
value = context.active_object.BIMAttributeProperties.attributes.get(self.name).get_value()