[Bf-blender-cvs] [da66c0519fc] master: Fix (unreported) collections not being append-reusable.
Bastien Montagne
noreply at git.blender.org
Wed Apr 13 10:29:01 CEST 2022
Commit: da66c0519fce9bff981370868a359e64198552bc
Author: Bastien Montagne
Date: Wed Apr 13 10:27:32 2022 +0200
Branches: master
https://developer.blender.org/rBda66c0519fce9bff981370868a359e64198552bc
Fix (unreported) collections not being append-reusable.
Related to T97289, appending collections would never re-use already
appended one, since the flag was not set for this ID type...
===================================================================
M source/blender/blenkernel/intern/collection.c
===================================================================
diff --git a/source/blender/blenkernel/intern/collection.c b/source/blender/blenkernel/intern/collection.c
index 939f7c7b3ff..0edc16e822c 100644
--- a/source/blender/blenkernel/intern/collection.c
+++ b/source/blender/blenkernel/intern/collection.c
@@ -360,7 +360,7 @@ IDTypeInfo IDType_ID_GR = {
.name = "Collection",
.name_plural = "collections",
.translation_context = BLT_I18NCONTEXT_ID_COLLECTION,
- .flags = IDTYPE_FLAGS_NO_ANIMDATA,
+ .flags = IDTYPE_FLAGS_NO_ANIMDATA | IDTYPE_FLAGS_APPEND_IS_REUSABLE,
.asset_type_info = NULL,
.init_data = collection_init_data,
More information about the Bf-blender-cvs
mailing list