Mantis#1901. Thank you kindly, Nlin for a patch that:

More sitting fixes: Inconsistent sitting position on 
rezzed prims that have no sit target set.
0.6.0-stable
Charles Krinke 2008-08-07 15:15:57 +00:00
parent 9a8569160f
commit e8293801c5
2 changed files with 2 additions and 2 deletions

View File

@ -812,7 +812,7 @@ namespace OpenSim.Region.Environment.Scenes
);
}
set { m_sitTargetOrientation = new Quaternion(value.X, value.Y, value.Z, value.W); }
set { m_sitTargetOrientation = new Quaternion(value.W, value.X, value.Y, value.Z); }
}

View File

@ -1156,7 +1156,7 @@ namespace OpenSim.Region.Environment.Scenes
part.SetAvatarOnSitTarget(UUID);
offset = new LLVector3(avSitOffSet.x, avSitOffSet.y, avSitOffSet.z);
sitOrientation =
new LLQuaternion(avSitOrientation.w, avSitOrientation.x, avSitOrientation.y, avSitOrientation.z);
new LLQuaternion(avSitOrientation.x, avSitOrientation.y, avSitOrientation.z, avSitOrientation.w);
autopilot = false;
}