diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-09-21 03:32:14 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-09-21 03:32:14 +0300 |
commit | 034cc855f0abf265f84b3d1ffdfc65a401fd94bc (patch) | |
tree | c4bd157f4f8b321d534d820c3bc2f8a7e620620a | |
parent | 5031dbcee56d94ce221682c87cbe8c15f0fd7cfc (diff) |
Fix T46186: Panel doesn't update on brush change
-rw-r--r-- | source/blender/editors/space_image/space_image.c | 3 |
1 files changed, 2 insertions, 1 deletions
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: |