rigidbody: Add point cache support
[blender-staging.git] / source / blender / blenloader / intern / writefile.c
index da50a05a3d99a6a2a1be2a14ac6323b4a1969700..ebd752c0118612c54c5c0d14b602070f904d63b2 100644 (file)
@@ -2307,6 +2307,7 @@ static void write_scenes(WriteData *wd, ListBase *scebase)
                if (sce->rigidbody_world) {
                        writestruct(wd, DATA, "RigidBodyWorld", 1, sce->rigidbody_world);
                        writestruct(wd, DATA, "EffectorWeights", 1, sce->rigidbody_world->effector_weights);
+                       write_pointcaches(wd, &(sce->rigidbody_world->ptcaches));
                }
                
                sce= sce->id.next;