From 7bebd2f7ce94fa1f37179273567e0e5e598151d3 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Tue, 22 Oct 2024 16:35:53 +0500 Subject: [PATCH] bim.generate_space - fix missing undo step --- src/bonsai/bonsai/bim/module/model/space.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bonsai/bonsai/bim/module/model/space.py b/src/bonsai/bonsai/bim/module/model/space.py index 1ef472d901..875025e2ef 100644 --- a/src/bonsai/bonsai/bim/module/model/space.py +++ b/src/bonsai/bonsai/bim/module/model/space.py @@ -25,7 +25,7 @@ import bonsai.core.spatial as core class GenerateSpace(bpy.types.Operator, tool.Ifc.Operator): bl_idname = "bim.generate_space" bl_label = "Generate Space from Cursor" - bl_options = {"REGISTER"} + bl_options = {"REGISTER", "UNDO"} bl_description = ( "Create a space from the cursor position.\n\n" "Move the cursor position into the desired position, "