diff --git a/source/blender/draw/intern/draw_cache_impl_particles.c b/source/blender/draw/intern/draw_cache_impl_particles.c index a1eb98a85e2..b8b24ac8afc 100644 --- a/source/blender/draw/intern/draw_cache_impl_particles.c +++ b/source/blender/draw/intern/draw_cache_impl_particles.c @@ -584,7 +584,7 @@ static void particle_batch_cache_ensure_pos(Object *object, for (curr_point = 0, i = 0, pa = psys->particles; i < psys->totpart; i++, pa++) { state.time = DEG_get_ctime(draw_ctx->depsgraph); - if (!psys_get_particle_state(&sim, curr_point, &state, 0)) { + if (!psys_get_particle_state(&sim, i, &state, 0)) { continue; }