Fix (unreported) outliner not redrawing on 'removed ID' notification.
Could lead to crahses in some cases, with outliner drawing code accessing freed ID data in its tree.
This commit is contained in:
parent
f6a6665947
commit
80b7902a56
|
@ -191,7 +191,7 @@ static void outliner_main_region_listener(const wmRegionListenerParams *params)
|
|||
}
|
||||
break;
|
||||
case NC_ID:
|
||||
if (ELEM(wmn->action, NA_RENAME, NA_ADDED)) {
|
||||
if (ELEM(wmn->action, NA_RENAME, NA_ADDED, NA_REMOVED)) {
|
||||
ED_region_tag_redraw(region);
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue