diff options
author | Campbell Barton <campbell@blender.org> | 2022-04-14 10:02:08 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-04-14 10:03:01 +0300 |
commit | 678b76d99ae5f918777a5706490b680d709d081d (patch) | |
tree | d2fcaa59ebfa8d1fd96418ed465b9db792ec0d34 | |
parent | 405bff7fd8ed5df8d44a1362763fac7c00e2060b (diff) |
Correct error in 405bff7fd8ed5df8d44a1362763fac7c00e2060b
Was adding 1 to dietime twice in init_particle_interpolation.
-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 500596e6d42..cc4738b1faa 100644 --- a/source/blender/blenkernel/intern/particle.c +++ b/source/blender/blenkernel/intern/particle.c @@ -1386,7 +1386,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 { |