oops someone set individual quaternion members and forgot to normalize

This commit is contained in:
dahlia
2015-03-17 13:14:03 -07:00
parent 310e44f250
commit 83e58ebc7c

View File

@@ -3151,6 +3151,7 @@ namespace OpenSim.Region.Framework.Scenes
// as wrong walk speed if the camera is rotated.
rot.X = 0;
rot.Y = 0;
rot.Normalize();
}
Vector3 direc = vec * rot;