LibOverride: Resync: Do not ignore embedded IDs in hierarchy processing.

While in practice this was probably not a big issue (since usually e.g.
objects used by a nodetree would also be used by other objects or
collections in the liboverride hierarchy), in some corner cases it could
have caused missing 'tag for resync' and improper partial resync roots
detection.
This commit is contained in:
Bastien Montagne 2023-05-04 12:22:49 +02:00
parent bd412c9e71
commit 370a2bb416
1 changed files with 1 additions and 0 deletions

View File

@ -2397,6 +2397,7 @@ static bool lib_override_resync_tagging_finalize_recurse(
}
ID *id_from = entry_item->id_pointer.from;
BKE_lib_override_library_get(bmain, id_from, nullptr, &id_from);
/* Check if this ID has an override hierarchy ancestor already tagged for resync. */
if (id_from != id && ID_IS_OVERRIDE_LIBRARY_REAL(id_from) && id_from->lib == id->lib &&