diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2017-12-22 16:11:04 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2017-12-22 16:41:09 +0300 |
commit | c08dac000ff3ca3597c82740c724f63f024ab542 (patch) | |
tree | 0314c66c0832484538f28fa0c315c8012906f05c /source/blender/blenloader | |
parent | fec3be6b5455c8847df0910f1086be4bdcab8dc1 (diff) |
Collection: Name collection based on parent's name
So they are:
House
-> House 1
-> House 2
-> ...
The exception is when the parent collection is the master collection. In this case we get:
Master Collection
-> Collection 1
-> Collection 2
-> ...
This is part of "T53495: View layer and collection editing - Design Task"
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/versioning_280.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/source/blender/blenloader/intern/versioning_280.c b/source/blender/blenloader/intern/versioning_280.c index ba5beb7993d..b864c75c90f 100644 --- a/source/blender/blenloader/intern/versioning_280.c +++ b/source/blender/blenloader/intern/versioning_280.c @@ -482,11 +482,6 @@ void do_versions_after_linking_280(Main *main) base->lay = base->object->lay; } - /* Fallback name if only one layer was found in the original file */ - if (BLI_listbase_is_single(&sc_master->scene_collections)) { - BKE_collection_rename(scene, sc_master->scene_collections.first, "Default Collection"); - } - /* remove bases once and for all */ for (Base *base = scene->base.first; base; base = base->next) { id_us_min(&base->object->id); |