add missing break statement from recent brush code refactor,
selecting texture paint brush would never run brush_generic_tool_set()
This commit is contained in:
parent
4022c52cfa
commit
e24d221e2a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue