mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 14:41:25 +00:00
fix #1240 undoing add_grid
This commit is contained in:
@@ -4145,6 +4145,7 @@ class SnapSpacesTogether(bpy.types.Operator):
|
|||||||
class CopyGrid(bpy.types.Operator):
|
class CopyGrid(bpy.types.Operator):
|
||||||
bl_idname = "bim.add_grid"
|
bl_idname = "bim.add_grid"
|
||||||
bl_label = "Add Grid"
|
bl_label = "Add Grid"
|
||||||
|
bl_options = {'UNDO'}
|
||||||
|
|
||||||
def execute(self, context):
|
def execute(self, context):
|
||||||
props = context.scene.DocProperties
|
props = context.scene.DocProperties
|
||||||
|
|||||||
Reference in New Issue
Block a user