From 41a68ca5db07d6730f3f04fd0401b01c388a235e Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Mon, 8 Sep 2008 19:57:28 +0000 Subject: [PATCH] Fix component order on a quaternion for the sit target. This caused sit positions to be upside down until the script was reset. --- OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs index 292a5c6c7d..5f6b4d7240 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs @@ -821,7 +821,7 @@ namespace OpenSim.Region.Environment.Scenes ); } - set { m_sitTargetOrientation = new Quaternion(value.W, value.X, value.Y, value.Z); } + set { m_sitTargetOrientation = new Quaternion(value.X, value.Y, value.Z, value.W); } } public bool Stopped