fix #1240 undoing add_grid

This commit is contained in:
QwiglyDee
2021-01-05 21:33:38 +07:00
parent 113efa1206
commit 19d07892f4
@@ -4145,6 +4145,7 @@ class SnapSpacesTogether(bpy.types.Operator):
class CopyGrid(bpy.types.Operator):
bl_idname = "bim.add_grid"
bl_label = "Add Grid"
bl_options = {'UNDO'}
def execute(self, context):
props = context.scene.DocProperties