Paint: setting the brush now updates tool slots
Adding a brush wasn't refreshing the tool-system (left blank topbar).
This commit is contained in:
parent
1b928c2d9a
commit
efd133a9a6
|
@ -299,6 +299,8 @@ void BKE_paint_brush_set(Paint *p, Brush *br)
|
|||
id_us_min((ID *)p->brush);
|
||||
id_us_plus((ID *)br);
|
||||
p->brush = br;
|
||||
|
||||
BKE_paint_toolslots_brush_update(p);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue