From 5ec31459289eaa4031dc32ac39b93b80855fa9ed Mon Sep 17 00:00:00 2001
From: Campbell Barton <ideasman42@gmail.com>
Date: Mon, 4 May 2020 14:19:18 +1000
Subject: [PATCH] Fix T76383: Undo after cell fracture crashes

---
 object_fracture_cell/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/object_fracture_cell/__init__.py b/object_fracture_cell/__init__.py
index 2e6d3b080..02e156b41 100644
--- a/object_fracture_cell/__init__.py
+++ b/object_fracture_cell/__init__.py
@@ -242,7 +242,7 @@ def main(context, **kw):
 class FractureCell(Operator):
     bl_idname = "object.add_fracture_cell_objects"
     bl_label = "Cell fracture selected mesh objects"
-    bl_options = {'PRESET'}
+    bl_options = {'PRESET', 'UNDO'}
 
     # -------------------------------------------------------------------------
     # Source Options
-- 
GitLab