* Remove more UpdateParentIDs() calls that are now duplicates
parent
e08c4376f7
commit
e34eaec553
|
@ -171,7 +171,6 @@ namespace OpenSim.Region.Environment.Modules.ContentManagement
|
|||
part.LocalId = m_Entity.Scene.PrimIDAllocate();
|
||||
|
||||
//finalize
|
||||
m_Entity.UpdateParentIDs();
|
||||
m_Entity.RootPart.PhysActor = null;
|
||||
m_Entity.Children = parts;
|
||||
}
|
||||
|
|
|
@ -503,8 +503,6 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
|
||||
reader.Close();
|
||||
sr.Close();
|
||||
|
||||
UpdateParentIDs();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
@ -576,8 +574,6 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
m_rootPart.ParentID = 0;
|
||||
m_rootPart.LocalId = m_scene.PrimIDAllocate();
|
||||
|
||||
//UpdateParentIDs();
|
||||
|
||||
// No need to lock here since the object isn't yet in a scene
|
||||
foreach (SceneObjectPart part in m_parts.Values)
|
||||
{
|
||||
|
@ -904,7 +900,7 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// Add a new part to this scene object
|
||||
/// </summary>
|
||||
/// <param name="part"></param>
|
||||
public void AddPart(SceneObjectPart part)
|
||||
|
@ -933,7 +929,7 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
/// <summary>
|
||||
/// Make sure that every non root part has the proper parent root part local id
|
||||
/// </summary>
|
||||
public void UpdateParentIDs()
|
||||
private void UpdateParentIDs()
|
||||
{
|
||||
lock (m_parts)
|
||||
{
|
||||
|
|
|
@ -104,8 +104,6 @@ namespace OpenSim.Region.Examples.SimpleModule
|
|||
new Quaternion(0, -0.5f, -0.05f)));
|
||||
|
||||
RootPart.Flags |= PrimFlags.Touch;
|
||||
|
||||
UpdateParentIDs();
|
||||
}
|
||||
|
||||
public override void OnGrabPart(SceneObjectPart part, Vector3 offsetPos, IClientAPI remoteClient)
|
||||
|
|
Loading…
Reference in New Issue