r34526 removed a line which had an unused return value but still needed to run.
[blender-staging.git] / source / blender / blenkernel / intern / particle.c
index 492b78f7365aa217bd7274dc2a618889756dac9f..11ea82803eb520e84a989d0d128083fe75cee68b 100644 (file)
@@ -1970,6 +1970,7 @@ static void do_kink(ParticleKey *state, ParticleKey *par, float *par_rot, float
                }
                
                mul_v3_fl(par_vec, -1.f);
+               normalize_v3_v3(vec_one, par_vec);
 
                inp_y=dot_v3v3(y_vec, vec_one);
                inp_z=dot_v3v3(z_vec, vec_one);