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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Bishop <nicholasbishop@gmail.com>2012-04-15 18:54:01 +0400
committerNicholas Bishop <nicholasbishop@gmail.com>2012-04-15 18:54:01 +0400
commit24286ba5bd75b29ce454b85585272b7741c7d6c3 (patch)
tree9049e7d6724ee473ae8169da568fe8a96c565742 /source/blender/editors/sculpt_paint/paint_utils.c
parentbab7b47a719b0660666d60b48a7a87e2347bbf75 (diff)
Fix bug [#30953] Changing brush preset irreversibly undoes things
Remove REGISTER/UNDO flags from brush preset operator.
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_utils.c')
-rw-r--r--source/blender/editors/sculpt_paint/paint_utils.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_utils.c b/source/blender/editors/sculpt_paint/paint_utils.c
index 6a31e96b51b..89a46272a8f 100644
--- a/source/blender/editors/sculpt_paint/paint_utils.c
+++ b/source/blender/editors/sculpt_paint/paint_utils.c
@@ -388,8 +388,6 @@ void BRUSH_OT_curve_preset(wmOperatorType *ot)
ot->exec = brush_curve_preset_exec;
ot->poll = brush_curve_preset_poll;
- ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
-
RNA_def_enum(ot->srna, "shape", prop_shape_items, CURVE_PRESET_SMOOTH, "Mode", "");
}