Fix #105216: Clear Asset does not immediately redraw the outliner #105287
|
@ -195,6 +195,11 @@ static void outliner_main_region_listener(const wmRegionListenerParams *params)
|
|||
ED_region_tag_redraw(region);
|
||||
}
|
||||
break;
|
||||
case NC_ASSET:
|
||||
if (ELEM(wmn->action, NA_ADDED, NA_REMOVED)) {
|
||||
ED_region_tag_redraw_no_rebuild(region);
|
||||
lichtwerk marked this conversation as resolved
Outdated
|
||||
}
|
||||
break;
|
||||
case NC_MATERIAL:
|
||||
switch (wmn->data) {
|
||||
case ND_SHADING_LINKS:
|
||||
|
|
Loading…
Reference in New Issue
Would suggest using
ED_region_tag_redraw_no_rebuild()
. Just the icon needs updating, not the entire tree.yep, changed that.