diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-15 23:24:16 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-15 23:24:16 +0400 |
commit | e24d221e2a3f2b420121472a0f181fe6e44bacf0 (patch) | |
tree | 7bce14087e248a27a09fd26d37ae3f77b4f4b634 /source/blender/editors | |
parent | 4022c52cfab4c497bf0e42663905437d459ebfe4 (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/blender/editors')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_ops.c | 1 |
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; |