diff options
author | Bastien Montagne <bastien@blender.org> | 2022-04-13 11:27:32 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2022-04-13 11:28:48 +0300 |
commit | da66c0519fce9bff981370868a359e64198552bc (patch) | |
tree | e5d2bc57cfe35e6e6bc9b3948f104e86c5753830 /source/blender/blenkernel | |
parent | a63982a65b92a9422c6de350cc0528f2fa345a8b (diff) |
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...
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/collection.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |