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
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-03-15 23:24:16 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-03-15 23:24:16 +0400
commite24d221e2a3f2b420121472a0f181fe6e44bacf0 (patch)
tree7bce14087e248a27a09fd26d37ae3f77b4f4b634 /source
parent4022c52cfab4c497bf0e42663905437d459ebfe4 (diff)
add missing break statement from recent brush code refactor,
selecting texture paint brush would never run brush_generic_tool_set()
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/sculpt_paint/paint_ops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_ops.c b/source/blender/editors/sculpt_paint/paint_ops.c
index c5f808d99b2..7880fafca9e 100644
--- a/source/blender/editors/sculpt_paint/paint_ops.c
+++ b/source/blender/editors/sculpt_paint/paint_ops.c
@@ -282,6 +282,7 @@ static int brush_select_exec(bContext *C, wmOperator *op)
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;