Clean up GetWorldPosition
parent
32b8fa4a77
commit
045f3b8b11
|
@ -2015,13 +2015,9 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
axPos *= parentRot;
|
axPos *= parentRot;
|
||||||
Vector3 translationOffsetPosition = axPos;
|
Vector3 translationOffsetPosition = axPos;
|
||||||
if(_parentID == 0)
|
if(_parentID == 0)
|
||||||
{
|
return GroupPosition;
|
||||||
return GroupPosition;
|
else
|
||||||
}
|
return ParentGroup.AbsolutePosition + translationOffsetPosition;
|
||||||
else
|
|
||||||
{
|
|
||||||
return ParentGroup.AbsolutePosition + translationOffsetPosition; //KF: Fix child prim position
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Reference in New Issue