Merged changes in the trunk up to revision 30814.
[blender-staging.git] / source / blender / blenloader / intern / writefile.c
index 18d5164f0ada1a137b78e4f7541c1c2ca8f06d09..06254161a3cec8f39f31ccd08c94f16bbab4acbc 100644 (file)
@@ -1539,6 +1539,7 @@ static void write_meshs(WriteData *wd, ListBase *idbase)
 
                        /* direct data */
                        if (mesh->id.properties) IDP_WriteProperty(mesh->id.properties, wd);
+                       if (mesh->adt) write_animdata(wd, mesh->adt);
 
                        writedata(wd, DATA, sizeof(void *)*mesh->totcol, mesh->mat);