diff options
author | Janne Karhu <jhkarh@gmail.com> | 2010-09-14 16:17:09 +0400 |
---|---|---|
committer | Janne Karhu <jhkarh@gmail.com> | 2010-09-14 16:17:09 +0400 |
commit | baadd70ea1cd2d258dcd38c1b87117a72a5b81ba (patch) | |
tree | c2218a08f53aae2337d9fd1e3c7d78ceba56d05d | |
parent | a1ff472e07aaa9bc53c43871a1598b0a282c351c (diff) |
Fix for [#23794] Particle System + FS Motion Blur corrupts some frames and possibly cache
-rw-r--r-- | source/blender/blenkernel/intern/pointcache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/pointcache.c b/source/blender/blenkernel/intern/pointcache.c index a35e40d7cf7..741580048cf 100644 --- a/source/blender/blenkernel/intern/pointcache.c +++ b/source/blender/blenkernel/intern/pointcache.c @@ -1454,7 +1454,7 @@ int BKE_ptcache_read_cache(PTCacheID *pid, float cfra, float frs_sec) if(!pm && !pf) { if(pid->cache->flag & PTCACHE_DISK_CACHE) { pf=NULL; - while(cfrai > pid->cache->startframe && !pf) { + while(cfrai >= pid->cache->startframe && !pf) { cfrai--; pf= ptcache_file_open(pid, PTCACHE_FILE_READ, cfrai); cfra1 = cfrai; |