Fix the fix. Child prims were failing to load.

0.6.0-stable
Melanie Thielker 2008-10-11 23:59:46 +00:00
parent 6f2d077356
commit acce65457c
1 changed files with 10 additions and 7 deletions

View File

@ -551,6 +551,8 @@ namespace OpenSim.Region.Environment.Scenes
//} //}
//m_log.Info("[PART]: OFFSET:" + m_offsetPosition.ToString()); //m_log.Info("[PART]: OFFSET:" + m_offsetPosition.ToString());
if (ParentGroup != null && ParentGroup.RootPart != null)
{
if (_parentID != 0) if (_parentID != 0)
{ {
Vector3 resultingposition = GetWorldPosition(); Vector3 resultingposition = GetWorldPosition();
@ -563,6 +565,7 @@ namespace OpenSim.Region.Environment.Scenes
} }
} }
} }
}
public Quaternion RotationOffset public Quaternion RotationOffset
{ {