From 0dd16758f013b38a3df55bb74446816729aa8b75 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Fri, 21 Apr 2023 14:23:42 +0200 Subject: [PATCH] Core: libquery: change Collection's parent pointer to master collection to 'not owned'. --- source/blender/blenkernel/intern/collection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/blenkernel/intern/collection.c b/source/blender/blenkernel/intern/collection.c index d712981a2c7..5136caf87b5 100644 --- a/source/blender/blenkernel/intern/collection.c +++ b/source/blender/blenkernel/intern/collection.c @@ -198,7 +198,7 @@ static void collection_foreach_id(ID *id, LibraryForeachIDData *data) * anyway... */ const int cb_flag = ((parent->collection != NULL && (parent->collection->id.flag & LIB_EMBEDDED_DATA) != 0) ? - IDWALK_CB_EMBEDDED : + IDWALK_CB_EMBEDDED_NOT_OWNING : IDWALK_CB_NOP); BKE_LIB_FOREACHID_PROCESS_IDSUPER( data, parent->collection, IDWALK_CB_NEVER_SELF | IDWALK_CB_LOOPBACK | cb_flag);