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:
authorCampbell Barton <ideasman42@gmail.com>2015-10-23 19:51:00 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-10-23 19:51:00 +0300
commit9d8a01dba195880c4b3bc8a5fb2914881b3abeca (patch)
treef1c048fb934bad730c4f577862de659dc5490072 /source/blender/blenkernel/intern/particle_system.c
parentd5fb0e517ca998ce39c3c3e46274b91f6d7e5124 (diff)
BLI_math: add invert_qt_normalized
When the quat is known to be unit length, so we can avoid scaling (just conjugate_qt which asserts on non unit quats).
Diffstat (limited to 'source/blender/blenkernel/intern/particle_system.c')
-rw-r--r--source/blender/blenkernel/intern/particle_system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/particle_system.c b/source/blender/blenkernel/intern/particle_system.c
index a59a0b73b69..dc6249b6a15 100644
--- a/source/blender/blenkernel/intern/particle_system.c
+++ b/source/blender/blenkernel/intern/particle_system.c
@@ -894,7 +894,7 @@ void psys_get_birth_coords(ParticleSimulationData *sim, ParticleData *pa, Partic
float q_imat[4];
mat4_to_quat(q_obmat, ob->obmat);
- invert_qt_qt(q_imat, q_obmat);
+ invert_qt_qt_normalized(q_imat, q_obmat);
if (part->rotmode != PART_ROT_NOR_TAN) {