From db911625d00ee8866a892187320e5360d6a35b5d Mon Sep 17 00:00:00 2001 From: Daniel Salazar Date: Mon, 1 Dec 2014 22:49:30 -0600 Subject: Adding a couple of missing undo calls to the paint palette addon. Should ave done this a long time ago. --- paint_palette.py | 2 ++ 1 file changed, 2 insertions(+) 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() -- cgit v1.2.3