aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-11-07 19:17:24 +0000
committerJustin Clarke Casey2008-11-07 19:17:24 +0000
commite34eaec55372689e5158b6df02b7c37315df0475 (patch)
treed1c6bd72ca9c1ef60b5998c8a3d4b2edbaeb1984 /OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
parent* Apply http://opensimulator.org/mantis/view.php?id=1883 (diff)
downloadopensim-SC_OLD-e34eaec55372689e5158b6df02b7c37315df0475.zip
opensim-SC_OLD-e34eaec55372689e5158b6df02b7c37315df0475.tar.gz
opensim-SC_OLD-e34eaec55372689e5158b6df02b7c37315df0475.tar.bz2
opensim-SC_OLD-e34eaec55372689e5158b6df02b7c37315df0475.tar.xz
* Remove more UpdateParentIDs() calls that are now duplicates
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs8
1 files changed, 2 insertions, 6 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
index 093024e..27a3d8a 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
@@ -503,8 +503,6 @@ namespace OpenSim.Region.Environment.Scenes
503 503
504 reader.Close(); 504 reader.Close();
505 sr.Close(); 505 sr.Close();
506
507 UpdateParentIDs();
508 } 506 }
509 507
510 /// <summary> 508 /// <summary>
@@ -576,8 +574,6 @@ namespace OpenSim.Region.Environment.Scenes
576 m_rootPart.ParentID = 0; 574 m_rootPart.ParentID = 0;
577 m_rootPart.LocalId = m_scene.PrimIDAllocate(); 575 m_rootPart.LocalId = m_scene.PrimIDAllocate();
578 576
579 //UpdateParentIDs();
580
581 // No need to lock here since the object isn't yet in a scene 577 // No need to lock here since the object isn't yet in a scene
582 foreach (SceneObjectPart part in m_parts.Values) 578 foreach (SceneObjectPart part in m_parts.Values)
583 { 579 {
@@ -904,7 +900,7 @@ namespace OpenSim.Region.Environment.Scenes
904 } 900 }
905 901
906 /// <summary> 902 /// <summary>
907 /// 903 /// Add a new part to this scene object
908 /// </summary> 904 /// </summary>
909 /// <param name="part"></param> 905 /// <param name="part"></param>
910 public void AddPart(SceneObjectPart part) 906 public void AddPart(SceneObjectPart part)
@@ -933,7 +929,7 @@ namespace OpenSim.Region.Environment.Scenes
933 /// <summary> 929 /// <summary>
934 /// Make sure that every non root part has the proper parent root part local id 930 /// Make sure that every non root part has the proper parent root part local id
935 /// </summary> 931 /// </summary>
936 public void UpdateParentIDs() 932 private void UpdateParentIDs()
937 { 933 {
938 lock (m_parts) 934 lock (m_parts)
939 { 935 {