mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
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:
parent
40cf7180d3
commit
9026131c80
2 changed files with 6 additions and 0 deletions
|
|
@ -725,6 +725,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);
|
||||
|
|
|
|||
|
|
@ -1587,6 +1587,11 @@ static void view3d_header_region_listener(const wmRegionListenerParams *params)
|
|||
case NC_BRUSH:
|
||||
ED_region_tag_redraw(region);
|
||||
break;
|
||||
case NC_GEOM:
|
||||
if (wmn->data == ND_DATA) {
|
||||
ED_region_tag_redraw(region);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
/* From top-bar, which ones are needed? split per header? */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue