diff options
Diffstat (limited to 'source/blender/blenkernel/intern/particle_child.c')
-rw-r--r-- | source/blender/blenkernel/intern/particle_child.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/particle_child.c b/source/blender/blenkernel/intern/particle_child.c index 3b02e010e7f..888ec753c54 100644 --- a/source/blender/blenkernel/intern/particle_child.c +++ b/source/blender/blenkernel/intern/particle_child.c @@ -381,7 +381,7 @@ void psys_apply_child_modifiers(ParticleThreadContext *ctx, } /* we have to correct velocity because of kink & clump */ - for (k = 0, key = keys; k < totkeys; ++k, ++key) { + for (k = 0, key = keys; k < totkeys; k++, key++) { if (k >= 2) { sub_v3_v3v3((key - 1)->vel, key->co, (key - 2)->co); mul_v3_fl((key - 1)->vel, 0.5); |