diff options
author | dahlia | 2015-03-17 13:14:03 -0700 |
---|---|---|
committer | dahlia | 2015-03-17 13:14:03 -0700 |
commit | 83e58ebc7c5cbb7e9e0309b31361dfd1629b2c09 (patch) | |
tree | 75675db131d3c47f9abec6ef6037f34697b858dd /OpenSim/Region/Framework/Scenes | |
parent | Re-enabled ability for avatar to ascend and descend whilst controlling view w... (diff) | |
download | opensim-SC-83e58ebc7c5cbb7e9e0309b31361dfd1629b2c09.zip opensim-SC-83e58ebc7c5cbb7e9e0309b31361dfd1629b2c09.tar.gz opensim-SC-83e58ebc7c5cbb7e9e0309b31361dfd1629b2c09.tar.bz2 opensim-SC-83e58ebc7c5cbb7e9e0309b31361dfd1629b2c09.tar.xz |
oops someone set individual quaternion members and forgot to normalize
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index cb6adb2..d573b1a 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -3151,6 +3151,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
3151 | // as wrong walk speed if the camera is rotated. | 3151 | // as wrong walk speed if the camera is rotated. |
3152 | rot.X = 0; | 3152 | rot.X = 0; |
3153 | rot.Y = 0; | 3153 | rot.Y = 0; |
3154 | rot.Normalize(); | ||
3154 | } | 3155 | } |
3155 | 3156 | ||
3156 | Vector3 direc = vec * rot; | 3157 | Vector3 direc = vec * rot; |