Merge branch 'blender-v3.2-release'
This commit is contained in:
commit
fa7224d8ed
Notes:
blender-bot
2023-05-22 12:40:41 +02:00
Referenced by issue #98136, Crash undoing "Make Library Override" for linked collection with shapekey
|
@ -400,7 +400,9 @@ typedef struct LooseDataInstantiateContext {
|
|||
static bool object_in_any_scene(Main *bmain, Object *ob)
|
||||
{
|
||||
LISTBASE_FOREACH (Scene *, sce, &bmain->scenes) {
|
||||
if (BKE_scene_object_find(sce, ob)) {
|
||||
/* #BKE_scene_has_object checks bases cache of the scenes' viewlayer, not actual content of
|
||||
* their collections. */
|
||||
if (BKE_collection_has_object_recursive(sce->master_collection, ob)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue