* AbsolutePosition.Get{} returns incorrect result for child prim so switch to using prim.GetWorldPosition() in the warp renderer.

viewer-2-initial-appearance
Teravus Ovares (Dan Olivares) 2010-10-30 02:26:48 -04:00
parent 37e6de5ace
commit 09bf9d5fca
1 changed files with 1 additions and 1 deletions

View File

@ -355,7 +355,7 @@ namespace OpenSim.Region.CoreModules.World.Warp3DMap
if (renderMesh == null)
return;
warp_Vector primPos = ConvertVector(prim.AbsolutePosition);
warp_Vector primPos = ConvertVector(prim.GetWorldPosition());
warp_Quaternion primRot = ConvertQuaternion(prim.RotationOffset);
warp_Matrix m = warp_Matrix.quaternionMatrix(primRot);