diff options
author | Teravus Ovares (Dan Olivares) | 2010-10-30 02:26:48 -0400 |
---|---|---|
committer | Teravus Ovares (Dan Olivares) | 2010-10-30 02:26:48 -0400 |
commit | 09bf9d5fca8e9c22f3a0f5660aa55eea316853b1 (patch) | |
tree | b6581f2cfbfb1a4301981e5ec499219f4c16e18d | |
parent | Merge branch 'master' of ssh://MyConnection/var/git/opensim (diff) | |
download | opensim-SC_OLD-09bf9d5fca8e9c22f3a0f5660aa55eea316853b1.zip opensim-SC_OLD-09bf9d5fca8e9c22f3a0f5660aa55eea316853b1.tar.gz opensim-SC_OLD-09bf9d5fca8e9c22f3a0f5660aa55eea316853b1.tar.bz2 opensim-SC_OLD-09bf9d5fca8e9c22f3a0f5660aa55eea316853b1.tar.xz |
* AbsolutePosition.Get{} returns incorrect result for child prim so switch to using prim.GetWorldPosition() in the warp renderer.
-rw-r--r-- | OpenSim/Region/CoreModules/World/Warp3DMap/MapImageModule.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/Warp3DMap/MapImageModule.cs b/OpenSim/Region/CoreModules/World/Warp3DMap/MapImageModule.cs index 00b506e..6eb57eb 100644 --- a/OpenSim/Region/CoreModules/World/Warp3DMap/MapImageModule.cs +++ b/OpenSim/Region/CoreModules/World/Warp3DMap/MapImageModule.cs | |||
@@ -355,7 +355,7 @@ namespace OpenSim.Region.CoreModules.World.Warp3DMap | |||
355 | if (renderMesh == null) | 355 | if (renderMesh == null) |
356 | return; | 356 | return; |
357 | 357 | ||
358 | warp_Vector primPos = ConvertVector(prim.AbsolutePosition); | 358 | warp_Vector primPos = ConvertVector(prim.GetWorldPosition()); |
359 | warp_Quaternion primRot = ConvertQuaternion(prim.RotationOffset); | 359 | warp_Quaternion primRot = ConvertQuaternion(prim.RotationOffset); |
360 | 360 | ||
361 | warp_Matrix m = warp_Matrix.quaternionMatrix(primRot); | 361 | warp_Matrix m = warp_Matrix.quaternionMatrix(primRot); |