diff options
author | Julian Eisel <julian_eisel@web.de> | 2015-03-09 16:48:56 +0300 |
---|---|---|
committer | Julian Eisel <julian_eisel@web.de> | 2015-03-09 16:48:56 +0300 |
commit | b14e2876a759470df30002d98fe28176ac1a3836 (patch) | |
tree | f448faa0ab0b8dde7f9b5af2ee48995f18eb25e5 | |
parent | b21e0cccfa29ab87c0f78a4c5ff05827a3efee7f (diff) |
Fix T43937: Changing Texture Brush doesn't update toolbar
-rw-r--r-- | source/blender/editors/space_view3d/space_view3d.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/space_view3d.c b/source/blender/editors/space_view3d/space_view3d.c index 8f09fb7b375..1112f2e7383 100644 --- a/source/blender/editors/space_view3d/space_view3d.c +++ b/source/blender/editors/space_view3d/space_view3d.c @@ -1152,7 +1152,8 @@ static void view3d_buttons_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_SPACE: |