From efd133a9a650bfd29e55aba60ad9a9d9acef0a2a Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 5 Nov 2018 16:20:15 +1100 Subject: [PATCH] Paint: setting the brush now updates tool slots Adding a brush wasn't refreshing the tool-system (left blank topbar). --- source/blender/blenkernel/intern/paint.c | 2 ++ 1 file changed, 2 insertions(+) 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); } }