forked from bartvdbraak/blender
Fix for [#25781] Bake cache for particles fails at end , ALT + A not
* Missing check for info frame (frame 0).
This commit is contained in:
parent
d8539d8801
commit
0f375d8980
@ -1932,7 +1932,7 @@ int BKE_ptcache_write(PTCacheID *pid, unsigned int cfra)
|
||||
cache->flag |= PTCACHE_FRAMES_SKIPPED;
|
||||
|
||||
/* Update timeline cache display */
|
||||
if(cache->cached_frames)
|
||||
if(cfra && cache->cached_frames)
|
||||
cache->cached_frames[cfra-cache->startframe] = 1;
|
||||
|
||||
BKE_ptcache_update_info(pid);
|
||||
|
Loading…
Reference in New Issue
Block a user