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:
authorDaniel Salazar <zanqdo@gmail.com>2014-12-02 07:49:30 +0300
committerDaniel Salazar <zanqdo@gmail.com>2014-12-02 07:49:30 +0300
commitdb911625d00ee8866a892187320e5360d6a35b5d (patch)
treede7e598ae71ba7fb16f51c1e9139b02c7245df76 /paint_palette.py
parentf9a39c7e1d6efd0104eba81e1f1c1d34e37f54d6 (diff)
Adding a couple of missing undo calls to the paint palette addon. Should ave done this a long time ago.
Diffstat (limited to 'paint_palette.py')
-rw-r--r--paint_palette.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/paint_palette.py b/paint_palette.py
index 7c95fd3e..c343978b 100644
--- a/paint_palette.py
+++ b/paint_palette.py
@@ -369,6 +369,7 @@ class IMAGE_OT_select_color(bpy.types.Operator):
bl_label = ""
bl_description = "Select this color"
bl_idname = "paint.select_color"
+ bl_options = {'UNDO'}
color_index = IntProperty()
@@ -487,6 +488,7 @@ class VIEW3D_OT_select_weight(bpy.types.Operator):
bl_label = ""
bl_description = "Select this weight"
bl_idname = "paint.select_weight"
+ bl_options = {'UNDO'}
weight_index = IntProperty()