Camera tracking: animation datablock for MovieClip
[blender-staging.git] / source / blender / blenloader / intern / writefile.c
index ae4bc936193c12cdcc1868731629741843da06de..e221f261d5572d4270788c8e3dcf2be133aac9a7 100644 (file)
@@ -2564,6 +2564,9 @@ static void write_movieclips(WriteData *wd, ListBase *idbase)
                        MovieTrackingObject *object;
                        writestruct(wd, ID_MC, "MovieClip", 1, clip);
 
+                       if(clip->adt)
+                               write_animdata(wd, clip->adt);
+
                        write_movieTracks(wd, &tracking->tracks);
                        write_movieReconstruction(wd, &tracking->reconstruction);