Clean up GetWorldPosition

avinationmerge
Melanie 2012-01-05 07:37:31 +01:00
parent 32b8fa4a77
commit 045f3b8b11
1 changed files with 3 additions and 7 deletions

View File

@ -2015,13 +2015,9 @@ namespace OpenSim.Region.Framework.Scenes
axPos *= parentRot;
Vector3 translationOffsetPosition = axPos;
if(_parentID == 0)
{
return GroupPosition;
}
else
{
return ParentGroup.AbsolutePosition + translationOffsetPosition; //KF: Fix child prim position
}
return ParentGroup.AbsolutePosition + translationOffsetPosition;
}
/// <summary>