Fix T46186: Panel doesn't update on brush change
This commit is contained in:
parent
5031dbcee5
commit
034cc855f0
Notes:
blender-bot
2023-02-14 08:38:11 +01:00
Referenced by issue #46309, Cycles reflection and bump artifacts Referenced by issue #46226, bake normals from multiresolution crash Referenced by issue #46229, File browser window closes after hitting esc after render Referenced by issue #46224, Particle objects that are emitted are ignored in cycles for baking normal maps. Referenced by issue #46202, Fullscreen crashes Blender on Mac OS X Referenced by issue #46186, Brush Panel Doesn't Update Until Drawing Stroke When Selecting Brush With Numkey
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue