copying a camera would copy its animation data (and action datablocks) twice.
authorCampbell Barton <ideasman42@gmail.com>
Tue, 9 Nov 2010 09:34:03 +0000 (09:34 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 9 Nov 2010 09:34:03 +0000 (09:34 +0000)
source/blender/blenkernel/intern/object.c

index 9512aa3a1cee63c157bd04178ce3d7878bf109e5..9c76db2b2b5fff1289514e0bf028669185ccb1b4 100644 (file)
@@ -715,7 +715,6 @@ Camera *copy_camera(Camera *cam)
        Camera *camn;
        
        camn= copy_libblock(cam);
-       camn->adt= BKE_copy_animdata(cam->adt);
        
        return camn;
 }