fix for own mistake, from r27961.
authorCampbell Barton <ideasman42@gmail.com>
Thu, 15 Apr 2010 21:58:49 +0000 (21:58 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 15 Apr 2010 21:58:49 +0000 (21:58 +0000)
source/blender/blenkernel/intern/pointcache.c

index 515d1f820aa285db247cd02b04c2d68777713669..ab4750a28d261e79eba9628bf0d3f456e8f015f5 100644 (file)
@@ -2434,7 +2434,7 @@ void BKE_ptcache_make_cache(PTCacheBaker* baker)
                        cache->flag &= ~PTCACHE_BAKED;
                }
        }
-       for(SETLOOPER(scene, base)) {
+       else for(SETLOOPER(scene, base)) {
                /* cache/bake everything in the scene */
                BKE_ptcache_ids_from_object(&pidlist, base->object, scene, MAX_DUPLI_RECUR);