Fix T43937: Changing Texture Brush doesn't update toolbar

This commit is contained in:
Julian Eisel 2015-03-09 14:48:56 +01:00
parent b21e0cccfa
commit b14e2876a7
Notes: blender-bot 2023-02-14 09:23:49 +01:00
Referenced by issue #43937, Texture paint brush shortcuts no longer working
1 changed files with 2 additions and 1 deletions

View File

@ -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: