diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2019-04-02 17:20:56 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2019-04-02 17:21:55 +0300 |
commit | 95a9a3e6c0b606d622550d4b192052c865917dbf (patch) | |
tree | 88d221001e22e66e5d6c49c70b2faa4e6c27a026 /source/blender/blenkernel | |
parent | 0554b2e177e95cf0560a7e4ea969fad647eb4a5f (diff) |
Cleanup: Scene Copy: remove scene's camera remapping in core func.
This is useless at that point, since no object has been duplicated yet...
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/scene.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/source/blender/blenkernel/intern/scene.c b/source/blender/blenkernel/intern/scene.c index f33939f0a3f..644eb704655 100644 --- a/source/blender/blenkernel/intern/scene.c +++ b/source/blender/blenkernel/intern/scene.c @@ -434,12 +434,6 @@ Scene *BKE_scene_copy(Main *bmain, Scene *sce, int type) /* NOTE: part of SCE_COPY_FULL operations * are done outside of blenkernel with ED_object_single_users! */ - /* camera */ - /* XXX This is most certainly useless? Object have not yet been duplicated... */ - if (type == SCE_COPY_FULL) { - ID_NEW_REMAP(sce_copy->camera); - } - return sce_copy; } } |