[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [45219] trunk/blender/source/blender/ editors/sculpt_paint/paint_image.c: Fix related to #30674: remove unnecessary global undo push during image paint,

Brecht Van Lommel brechtvanlommel at pandora.be
Tue Mar 27 19:58:51 CEST 2012


Revision: 45219
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=45219
Author:   blendix
Date:     2012-03-27 17:58:50 +0000 (Tue, 27 Mar 2012)
Log Message:
-----------
Fix related to #30674: remove unnecessary global undo push during image paint,
not needed since it already has local image undo stack.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/sculpt_paint/paint_image.c

Modified: trunk/blender/source/blender/editors/sculpt_paint/paint_image.c
===================================================================
--- trunk/blender/source/blender/editors/sculpt_paint/paint_image.c	2012-03-27 17:53:31 UTC (rev 45218)
+++ trunk/blender/source/blender/editors/sculpt_paint/paint_image.c	2012-03-27 17:58:50 UTC (rev 45219)
@@ -5129,7 +5129,7 @@
 	ot->poll = image_paint_poll;
 
 	/* flags */
-	ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO|OPTYPE_BLOCKING;
+	ot->flag = OPTYPE_REGISTER|OPTYPE_BLOCKING;
 
 	/* properties */
 	RNA_def_collection_runtime(ot->srna, "stroke", &RNA_OperatorStrokeElement, "Stroke", "");




More information about the Bf-blender-cvs mailing list