Fix T57320: Crash when adding a linked scene, then deleting it.
You want to check collections (for NULL children) first, before you actually go into those children collections checking for NULL objects...
This commit is contained in:
@@ -634,8 +634,8 @@ void BKE_libblock_relink_ex(
|
||||
}
|
||||
else {
|
||||
/* No choice but to check whole objects/collections. */
|
||||
libblock_remap_data_postprocess_object_update(bmain, NULL, NULL);
|
||||
libblock_remap_data_postprocess_collection_update(bmain, NULL, NULL);
|
||||
libblock_remap_data_postprocess_object_update(bmain, NULL, NULL);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user