diff options
author | Campbell Barton <campbell@blender.org> | 2022-04-14 10:02:08 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2022-04-19 16:59:09 +0300 |
commit | 49e11448324fed38bcb0e90c0acbda58208f2571 (patch) | |
tree | a92f881f391de9fd265ebd34f89e28b69e1616eb /source/blender | |
parent | d0bcb6efead49a269d3b9b6f29ef07f5241fa137 (diff) |
Correct error in 405bff7fd8ed5df8d44a1362763fac7c00e2060b
Was adding 1 to dietime twice in init_particle_interpolation.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/intern/particle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/particle.c b/source/blender/blenkernel/intern/particle.c index 544c80ebc7b..b5715e2971b 100644 --- a/source/blender/blenkernel/intern/particle.c +++ b/source/blender/blenkernel/intern/particle.c @@ -1391,7 +1391,7 @@ static void init_particle_interpolation(Object *ob, if (get_pointcache_times_for_particle(pind->cache, pa - psys->particles, &start, &dietime)) { pind->birthtime = MAX2(pind->birthtime, start); - pind->dietime = MIN2(pind->dietime, dietime + 1); + pind->dietime = MIN2(pind->dietime, dietime); } } else { |