[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [44906] trunk/blender/source/blender/ editors/sculpt_paint/paint_ops.c: add missing break statement from recent brush code refactor,
Campbell Barton
ideasman42 at gmail.com
Thu Mar 15 20:24:29 CET 2012
Revision: 44906
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=44906
Author: campbellbarton
Date: 2012-03-15 19:24:16 +0000 (Thu, 15 Mar 2012)
Log Message:
-----------
add missing break statement from recent brush code refactor,
selecting texture paint brush would never run brush_generic_tool_set()
Modified Paths:
--------------
trunk/blender/source/blender/editors/sculpt_paint/paint_ops.c
Modified: trunk/blender/source/blender/editors/sculpt_paint/paint_ops.c
===================================================================
--- trunk/blender/source/blender/editors/sculpt_paint/paint_ops.c 2012-03-15 15:32:56 UTC (rev 44905)
+++ trunk/blender/source/blender/editors/sculpt_paint/paint_ops.c 2012-03-15 19:24:16 UTC (rev 44906)
@@ -282,6 +282,7 @@
paint= &toolsettings->imapaint.paint;
tool_offset= offsetof(Brush, imagepaint_tool);
tool= RNA_enum_get(op->ptr, "texture_paint_tool");
+ break;
default:
/* invalid paint mode */
return OPERATOR_CANCELLED;
More information about the Bf-blender-cvs
mailing list