[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [45661] trunk/blender/source/blender/ editors/sculpt_paint/paint_utils.c: Fix bug [#30953] Changing brush preset irreversibly undoes things
Nicholas Bishop
nicholasbishop at gmail.com
Sun Apr 15 16:54:01 CEST 2012
Revision: 45661
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=45661
Author: nicholasbishop
Date: 2012-04-15 14:54:01 +0000 (Sun, 15 Apr 2012)
Log Message:
-----------
Fix bug [#30953] Changing brush preset irreversibly undoes things
Remove REGISTER/UNDO flags from brush preset operator.
Modified Paths:
--------------
trunk/blender/source/blender/editors/sculpt_paint/paint_utils.c
Modified: trunk/blender/source/blender/editors/sculpt_paint/paint_utils.c
===================================================================
--- trunk/blender/source/blender/editors/sculpt_paint/paint_utils.c 2012-04-15 14:51:37 UTC (rev 45660)
+++ trunk/blender/source/blender/editors/sculpt_paint/paint_utils.c 2012-04-15 14:54:01 UTC (rev 45661)
@@ -388,8 +388,6 @@
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", "");
}
More information about the Bf-blender-cvs
mailing list