From 034cc855f0abf265f84b3d1ffdfc65a401fd94bc Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 21 Sep 2015 10:32:14 +1000 Subject: [PATCH] Fix T46186: Panel doesn't update on brush change --- source/blender/editors/space_image/space_image.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/blender/editors/space_image/space_image.c b/source/blender/editors/space_image/space_image.c index 98a0752f64d..97e3390f142 100644 --- a/source/blender/editors/space_image/space_image.c +++ b/source/blender/editors/space_image/space_image.c @@ -919,7 +919,8 @@ static void image_tools_area_listener(bScreen *UNUSED(sc), ScrArea *UNUSED(sa), ED_region_tag_redraw(ar); break; case NC_BRUSH: - if (wmn->action == NA_EDITED) + /* NA_SELECTED is used on brush changes */ + if (ELEM(wmn->action, NA_EDITED, NA_SELECTED)) ED_region_tag_redraw(ar); break; case NC_SCENE: