mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 10:46:00 +08:00
* Remove more UpdateParentIDs() calls that are now duplicates
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user