diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-11-05 08:20:15 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-11-05 08:20:15 +0300 |
commit | efd133a9a650bfd29e55aba60ad9a9d9acef0a2a (patch) | |
tree | f3e1c63cb48a4b2ddbea5250b895d41f8da81623 /source/blender/blenkernel/intern/paint.c | |
parent | 1b928c2d9a4b4b4a57046176912e0ae6d77f9a1d (diff) |
Paint: setting the brush now updates tool slots
Adding a brush wasn't refreshing the tool-system (left blank topbar).
Diffstat (limited to 'source/blender/blenkernel/intern/paint.c')
-rw-r--r-- | source/blender/blenkernel/intern/paint.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/paint.c b/source/blender/blenkernel/intern/paint.c index e2e926736c7..f12e33344dc 100644 --- a/source/blender/blenkernel/intern/paint.c +++ b/source/blender/blenkernel/intern/paint.c @@ -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); } } |