forked from bartvdbraak/blender
Only add a fill brush to default .blend if there isn't one already. For
some reason this happened twice here. Likely candidate for 2.73 final
This commit is contained in:
parent
c7c10e5e28
commit
eb2e4577f4
@ -138,9 +138,13 @@ void BLO_update_defaults_startup_blend(Main *bmain)
|
||||
|
||||
{
|
||||
Brush *br;
|
||||
|
||||
br = (Brush *)BKE_libblock_find_name_ex(bmain, ID_BR, "Fill");
|
||||
if (!br) {
|
||||
br = BKE_brush_add(bmain, "Fill");
|
||||
br->imagepaint_tool = PAINT_TOOL_FILL;
|
||||
br->ob_mode = OB_MODE_TEXTURE_PAINT;
|
||||
}
|
||||
|
||||
br = (Brush *)BKE_libblock_find_name_ex(bmain, ID_BR, "Mask");
|
||||
if (br) {
|
||||
|
Loading…
Reference in New Issue
Block a user