Cleanup: Scene Copy: remove scene's camera remapping in core func.

This is useless at that point, since no object has been duplicated yet...
This commit is contained in:
2019-04-02 16:20:56 +02:00
parent 0554b2e177
commit 95a9a3e6c0

View File

@@ -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;
}
}