diff options
author | Daniel Salazar <zanqdo@gmail.com> | 2014-12-02 07:49:30 +0300 |
---|---|---|
committer | Daniel Salazar <zanqdo@gmail.com> | 2014-12-02 07:49:30 +0300 |
commit | db911625d00ee8866a892187320e5360d6a35b5d (patch) | |
tree | de7e598ae71ba7fb16f51c1e9139b02c7245df76 /paint_palette.py | |
parent | f9a39c7e1d6efd0104eba81e1f1c1d34e37f54d6 (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.py | 2 |
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() |