LibOverride: Fix bad ID getting hierarchy root updated.

Followup to rB6c679aca1770c37.
This commit is contained in:
Bastien Montagne 2022-05-10 17:42:00 +02:00
parent 6c679aca17
commit 0134ab4b56
1 changed files with 1 additions and 1 deletions

View File

@ -1416,7 +1416,7 @@ void BKE_lib_override_library_main_hierarchy_root_ensure(Main *bmain)
continue;
}
lib_override_root_hierarchy_set(bmain, id_root, id_root, NULL);
lib_override_root_hierarchy_set(bmain, id_root, id, NULL);
BLI_assert(id->override_library->hierarchy_root != NULL);
}