Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Tönne <lukas.toenne@gmail.com>2015-01-14 13:48:51 +0300
committerLukas Tönne <lukas.toenne@gmail.com>2015-01-20 11:30:11 +0300
commit68608c542858c4225d7514b7295d62b73d0f5def (patch)
treeda584f80fcd02f049fde8a118484359c54288c2f /source/blender/blenkernel/intern/particle_child.c
parentdcfa75bc89363971c3638780682f05021f7f00cc (diff)
Spiral rotation axis was not always fully normalized, avoid an assert.
Diffstat (limited to 'source/blender/blenkernel/intern/particle_child.c')
-rw-r--r--source/blender/blenkernel/intern/particle_child.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/particle_child.c b/source/blender/blenkernel/intern/particle_child.c
index 16e8869d7cf..e26a61fa261 100644
--- a/source/blender/blenkernel/intern/particle_child.c
+++ b/source/blender/blenkernel/intern/particle_child.c
@@ -153,6 +153,7 @@ static void do_kink_spiral_deform(ParticleKey *state, const float dir[3], const
theta = -theta;
cross_v3_v3v3(spiral_axis, dir, kink);
+ normalize_v3(spiral_axis);
mul_v3_v3fl(vec, kink, -radius);