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
parent
9a8569160f
commit
e8293801c5
|
@ -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); }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1156,7 +1156,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
part.SetAvatarOnSitTarget(UUID);
|
part.SetAvatarOnSitTarget(UUID);
|
||||||
offset = new LLVector3(avSitOffSet.x, avSitOffSet.y, avSitOffSet.z);
|
offset = new LLVector3(avSitOffSet.x, avSitOffSet.y, avSitOffSet.z);
|
||||||
sitOrientation =
|
sitOrientation =
|
||||||
new LLQuaternion(avSitOrientation.w, avSitOrientation.x, avSitOrientation.y, avSitOrientation.z);
|
new LLQuaternion(avSitOrientation.x, avSitOrientation.y, avSitOrientation.z, avSitOrientation.w);
|
||||||
autopilot = false;
|
autopilot = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue