[Bf-extensions-cvs] [f3a8b264] blender-v2.91-release: Fix T82763: Fix crash in Discombobulator on undo

Robert Guetzkow noreply at git.blender.org
Tue Nov 17 13:52:29 CET 2020


Commit: f3a8b264d19b2adc54baa87723907ce9442b8ecb
Author: Robert Guetzkow
Date:   Tue Nov 17 13:50:56 2020 +0100
Branches: blender-v2.91-release
https://developer.blender.org/rBAf3a8b264d19b2adc54baa87723907ce9442b8ecb

Fix T82763: Fix crash in Discombobulator on undo

Add `"UNDO"` to the `bl_options` to ensure that undo works
properly with the new undo system.

===================================================================

M	add_mesh_discombobulator/mesh_discombobulator.py

===================================================================

diff --git a/add_mesh_discombobulator/mesh_discombobulator.py b/add_mesh_discombobulator/mesh_discombobulator.py
index 4824ef4b..93f3b3c4 100644
--- a/add_mesh_discombobulator/mesh_discombobulator.py
+++ b/add_mesh_discombobulator/mesh_discombobulator.py
@@ -683,7 +683,7 @@ class VIEW3D_OT_tools_discombobulate(Operator):
     bl_label = "Discombobulator"
     bl_description = ("Easily add sci-fi details to a surface \n"
                       "Needs an existing active Mesh with Faces")
-    bl_options = {"REGISTER"}
+    bl_options = {"REGISTER", "UNDO"}
 
     executing = False



More information about the Bf-extensions-cvs mailing list