* AbsolutePosition.Get{} returns incorrect result for child prim so switch to using prim.GetWorldPosition() in the warp renderer.
parent
37e6de5ace
commit
09bf9d5fca
|
@ -355,7 +355,7 @@ namespace OpenSim.Region.CoreModules.World.Warp3DMap
|
||||||
if (renderMesh == null)
|
if (renderMesh == null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
warp_Vector primPos = ConvertVector(prim.AbsolutePosition);
|
warp_Vector primPos = ConvertVector(prim.GetWorldPosition());
|
||||||
warp_Quaternion primRot = ConvertQuaternion(prim.RotationOffset);
|
warp_Quaternion primRot = ConvertQuaternion(prim.RotationOffset);
|
||||||
|
|
||||||
warp_Matrix m = warp_Matrix.quaternionMatrix(primRot);
|
warp_Matrix m = warp_Matrix.quaternionMatrix(primRot);
|
||||||
|
|
Loading…
Reference in New Issue