Fix #118137: Symmetry buttons on-click state change
Buttons for mesh symmetry on the toolbar, and other buttons of the same functionality located in other areas of the window, weren't updated when clicking on them. Pull Request: https://projects.blender.org/blender/blender/pulls/118508
This commit is contained in:
committed by
Harley Acheson
parent
b99c1abc3a
commit
1e478cf169
@@ -726,6 +726,7 @@ static void buttons_area_listener(const wmSpaceTypeListenerParams *params)
|
||||
buttons_area_redraw(area, BCONTEXT_PHYSICS);
|
||||
/* Needed to refresh context path when changing active particle system index. */
|
||||
buttons_area_redraw(area, BCONTEXT_PARTICLE);
|
||||
buttons_area_redraw(area, BCONTEXT_TOOL);
|
||||
break;
|
||||
case ND_DRAW_ANIMVIZ:
|
||||
buttons_area_redraw(area, BCONTEXT_OBJECT);
|
||||
|
||||
@@ -1600,7 +1600,7 @@ static void view3d_header_region_listener(const wmRegionListenerParams *params)
|
||||
ED_region_tag_redraw(region);
|
||||
break;
|
||||
case NC_GEOM:
|
||||
if (wmn->data == ND_VERTEX_GROUP) {
|
||||
if (wmn->data == ND_VERTEX_GROUP || wmn->data == ND_DATA) {
|
||||
ED_region_tag_redraw(region);
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user