Fix (unreported) WM 'foreach_id' code skipping `unpinned_scene` pointer.
Previous code would not process that ID pointer in case the `workspace_hook` pointer was null.
This commit is contained in:
parent
826ebccb42
commit
a99cccaff8
|
@ -83,9 +83,9 @@ static void window_manager_foreach_id(ID *id, LibraryForeachIDData *data)
|
|||
if (BKE_lib_query_foreachid_iter_stop(data)) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
BKE_LIB_FOREACHID_PROCESS_IDSUPER(data, win->unpinned_scene, IDWALK_CB_NOP);
|
||||
}
|
||||
|
||||
if (BKE_lib_query_foreachid_process_flags_get(data) & IDWALK_INCLUDE_UI) {
|
||||
LISTBASE_FOREACH (ScrArea *, area, &win->global_areas.areabase) {
|
||||
|
|
Loading…
Reference in New Issue