aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorUbitUmarov2012-10-10 01:37:59 +0100
committerMelanie2012-10-19 01:37:46 +0100
commit32171708c3a29d2bb989b5638dc7536c6e4ecf3c (patch)
tree7edfa9397cd24dca730b3f1015b6902563b749be /OpenSim/Region/Framework
parent[UNTESTED] core Ode: let broken mesh physical prims collide with land as (diff)
downloadopensim-SC_OLD-32171708c3a29d2bb989b5638dc7536c6e4ecf3c.zip
opensim-SC_OLD-32171708c3a29d2bb989b5638dc7536c6e4ecf3c.tar.gz
opensim-SC_OLD-32171708c3a29d2bb989b5638dc7536c6e4ecf3c.tar.bz2
opensim-SC_OLD-32171708c3a29d2bb989b5638dc7536c6e4ecf3c.tar.xz
normalize quaternion.Slerp outputs
Signed-off-by: Melanie <melanie@t-data.com>
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index da2c069..27ef4c9 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -4584,6 +4584,7 @@ namespace OpenSim.Region.Framework.Scenes
4584 } 4584 }
4585 4585
4586 Quaternion rot = Quaternion.Slerp(RotationOffset,APIDTarget,1.0f/(float)m_APIDIterations); 4586 Quaternion rot = Quaternion.Slerp(RotationOffset,APIDTarget,1.0f/(float)m_APIDIterations);
4587 rot.Normalize();
4587 UpdateRotation(rot); 4588 UpdateRotation(rot);
4588 4589
4589 m_APIDIterations--; 4590 m_APIDIterations--;