diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2019-03-06 13:42:19 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2019-03-06 17:19:29 +0300 |
commit | 702e7bfd5c27fe5d11c54e402e94c5bee9a1194e (patch) | |
tree | 11b5c6cabc84d928d86284a8fe633ac39dd8ebba /source/blender/blenkernel/intern/scene.c | |
parent | 4dbf5e3a81466724f7eefc0978ae247571d1f4bd (diff) |
Cleanup: remove no-op BKE_collection_copy_full().
That one was an empty place-holder, BKE_collection_duplicate() is now
doing that. And its call from full scene copying is not needed
currently, 'deep copy' in that case is handled in editor's
`ED_scene_add()`.
Note that at some point, we might want to move that logic into BKE, but
for now let's keep thing as they are - working.
Diffstat (limited to 'source/blender/blenkernel/intern/scene.c')
-rw-r--r-- | source/blender/blenkernel/intern/scene.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/scene.c b/source/blender/blenkernel/intern/scene.c index 6567f98b520..1ae0de69005 100644 --- a/source/blender/blenkernel/intern/scene.c +++ b/source/blender/blenkernel/intern/scene.c @@ -414,9 +414,6 @@ Scene *BKE_scene_copy(Main *bmain, Scene *sce, int type) BKE_id_copy_ex(bmain, (ID *)sce_copy->world, (ID **)&sce_copy->world, LIB_ID_COPY_ACTIONS); } - /* Collections */ - BKE_collection_copy_full(bmain, sce_copy->master_collection); - /* Full copy of GreasePencil. */ if (sce_copy->gpd) { id_us_min(&sce_copy->gpd->id); |