Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Rachinskiy <mikhail.rachinskiy@gmail.com>2019-03-20 11:02:45 +0300
committerMikhail Rachinskiy <mikhail.rachinskiy@gmail.com>2019-03-20 11:02:45 +0300
commitcb588a96fdff07a83ce64fcb49c6326657662622 (patch)
tree5fe7efd1bd005e04852ccc73b4775aba1249a090 /object_boolean_tools.py
parent29713a430fdb030002d73b8cdf2522c84c73ef05 (diff)
Bool Tool: Fix missing undo push
D4545 by Addison Miller
Diffstat (limited to 'object_boolean_tools.py')
-rw-r--r--object_boolean_tools.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/object_boolean_tools.py b/object_boolean_tools.py
index e5688085..ded30a1a 100644
--- a/object_boolean_tools.py
+++ b/object_boolean_tools.py
@@ -477,6 +477,7 @@ class BTool_Union(Operator):
bl_idname = "btool.boolean_union"
bl_label = "Brush Union"
bl_description = "This operator add a union brush to a canvas"
+ bl_options = {"REGISTER", "UNDO"}
@classmethod
def poll(cls, context):
@@ -492,6 +493,7 @@ class BTool_Inters(Operator):
bl_idname = "btool.boolean_inters"
bl_label = "Brush Intersection"
bl_description = "This operator add a intersect brush to a canvas"
+ bl_options = {"REGISTER", "UNDO"}
@classmethod
def poll(cls, context):
@@ -507,6 +509,7 @@ class BTool_Diff(Operator):
bl_idname = "btool.boolean_diff"
bl_label = "Brush Difference"
bl_description = "This operator add a difference brush to a canvas"
+ bl_options = {"REGISTER", "UNDO"}
@classmethod
def poll(cls, context):
@@ -522,6 +525,7 @@ class BTool_Slice(Operator):
bl_idname = "btool.boolean_slice"
bl_label = "Brush Slice"
bl_description = "This operator add a intersect brush to a canvas"
+ bl_options = {"REGISTER", "UNDO"}
@classmethod
def poll(cls, context):
@@ -747,7 +751,7 @@ class BTool_EnableFTransform(Operator):
# Remove a Brush or a Canvas
class BTool_Remove(Operator):
bl_idname = "btool.remove"
- bl_label = ""
+ bl_label = "Bool Tool Remove"
bl_description = "Removes all BoolTool config assigned to it"
bl_options = {"UNDO"}