Fix T43937: Changing Texture Brush doesn't update toolbar
This commit is contained in:
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
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue