pointcache in set scenes wasnt updating
authorCampbell Barton <ideasman42@gmail.com>
Fri, 2 Apr 2010 11:18:52 +0000 (11:18 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 2 Apr 2010 11:18:52 +0000 (11:18 +0000)
source/blender/blenkernel/intern/scene.c

index 51b188004742644e4d4fa3466b60e7005fa893da..a494d94795381c1d6b1bb1327d3e0463148ae0c9 100644 (file)
@@ -953,8 +953,13 @@ void scene_update_tagged(Scene *scene)
                        BKE_animsys_evaluate_animdata(&scene->id, adt, ctime, 0);
        }
 
+       /* XXX - this is called far to often, should be made apart of the depgraph */
        BKE_ptcache_quick_cache_all(scene);
 
+       sce= scene;
+       while((sce= sce->set))
+               BKE_ptcache_quick_cache_all(sce);
+
        /* in the future this should handle updates for all datablocks, not
           only objects and scenes. - brecht */
 }