LibOverride: Fix bad ID getting hierarchy root updated.
Followup to rB6c679aca1770c37.
This commit is contained in:
parent
6c679aca17
commit
0134ab4b56
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue