aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/AllNewSceneObjectGroup2.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/AllNewSceneObjectGroup2.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/AllNewSceneObjectGroup2.cs13
1 files changed, 11 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/AllNewSceneObjectGroup2.cs b/OpenSim/Region/Environment/Scenes/AllNewSceneObjectGroup2.cs
index 22aadf4..d3b69b4 100644
--- a/OpenSim/Region/Environment/Scenes/AllNewSceneObjectGroup2.cs
+++ b/OpenSim/Region/Environment/Scenes/AllNewSceneObjectGroup2.cs
@@ -55,6 +55,14 @@ namespace OpenSim.Region.Environment.Scenes
55 /// <summary> 55 /// <summary>
56 /// 56 ///
57 /// </summary> 57 /// </summary>
58 public AllNewSceneObjectGroup2(byte[] data)
59 {
60
61 }
62
63 /// <summary>
64 ///
65 /// </summary>
58 public AllNewSceneObjectGroup2(Scene world, ulong regionHandle, LLUUID ownerID, uint localID, LLVector3 pos, PrimitiveBaseShape shape) 66 public AllNewSceneObjectGroup2(Scene world, ulong regionHandle, LLUUID ownerID, uint localID, LLVector3 pos, PrimitiveBaseShape shape)
59 { 67 {
60 m_regionHandle = regionHandle; 68 m_regionHandle = regionHandle;
@@ -67,6 +75,7 @@ namespace OpenSim.Region.Environment.Scenes
67 this.SetPartAsRoot(newPart); 75 this.SetPartAsRoot(newPart);
68 } 76 }
69 77
78
70 #region Copying 79 #region Copying
71 /// <summary> 80 /// <summary>
72 /// 81 ///
@@ -102,7 +111,7 @@ namespace OpenSim.Region.Environment.Scenes
102 { 111 {
103 AllNewSceneObjectPart2 newPart = part.Copy(m_scene); 112 AllNewSceneObjectPart2 newPart = part.Copy(m_scene);
104 this.m_parts.Add(newPart.UUID, newPart); 113 this.m_parts.Add(newPart.UUID, newPart);
105 newPart.ParentID = this.m_rootPart.LocalID; 114 this.SetPartAsNonRoot(newPart);
106 } 115 }
107 #endregion 116 #endregion
108 117
@@ -499,7 +508,7 @@ namespace OpenSim.Region.Environment.Scenes
499 /// <param name="part"></param> 508 /// <param name="part"></param>
500 private void SetPartAsNonRoot(AllNewSceneObjectPart2 part) 509 private void SetPartAsNonRoot(AllNewSceneObjectPart2 part)
501 { 510 {
502 511 part.ParentID = this.m_rootPart.LocalID;
503 } 512 }
504 513
505 /// <summary> 514 /// <summary>