Adding a couple of missing undo calls to the paint palette addon. Should ave done this a long time ago.

This commit is contained in:
Daniel Salazar 2014-12-01 22:49:30 -06:00
parent f9a39c7e1d
commit db911625d0
1 changed files with 2 additions and 0 deletions

View File

@ -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()