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:
parent
c989c5d37d
commit
7756973b0c
Notes:
blender-bot
2023-02-14 06:17:14 +01:00
Referenced by issue #57320, Crash when adding a linked scene, then deleting it
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue