aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/AllNewSceneObjectGroup2.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Scenes/AllNewSceneObjectGroup2.cs16
1 files changed, 5 insertions, 11 deletions
diff --git a/OpenSim/Region/Environment/Scenes/AllNewSceneObjectGroup2.cs b/OpenSim/Region/Environment/Scenes/AllNewSceneObjectGroup2.cs
index 35b6fef..8ed04d9 100644
--- a/OpenSim/Region/Environment/Scenes/AllNewSceneObjectGroup2.cs
+++ b/OpenSim/Region/Environment/Scenes/AllNewSceneObjectGroup2.cs
@@ -27,10 +27,7 @@ namespace OpenSim.Region.Environment.Scenes
27 /// </summary> 27 /// </summary>
28 public int PrimCount 28 public int PrimCount
29 { 29 {
30 get 30 get { return 1; }
31 {
32 return 1;
33 }
34 } 31 }
35 32
36 /// <summary> 33 /// <summary>
@@ -38,10 +35,7 @@ namespace OpenSim.Region.Environment.Scenes
38 /// </summary> 35 /// </summary>
39 public LLVector3 GroupCentrePoint 36 public LLVector3 GroupCentrePoint
40 { 37 {
41 get 38 get { return new LLVector3(0, 0, 0); }
42 {
43 return new LLVector3(0, 0, 0);
44 }
45 } 39 }
46 40
47 /// <summary> 41 /// <summary>
@@ -83,13 +77,13 @@ namespace OpenSim.Region.Environment.Scenes
83 /// <returns></returns> 77 /// <returns></returns>
84 public new AllNewSceneObjectGroup2 Copy() 78 public new AllNewSceneObjectGroup2 Copy()
85 { 79 {
86 AllNewSceneObjectGroup2 dupe = (AllNewSceneObjectGroup2) this.MemberwiseClone(); 80 AllNewSceneObjectGroup2 dupe = (AllNewSceneObjectGroup2)this.MemberwiseClone();
87 dupe.Pos = new LLVector3(Pos.X, Pos.Y, Pos.Z); 81 dupe.Pos = new LLVector3(Pos.X, Pos.Y, Pos.Z);
88 dupe.m_scene = m_scene; 82 dupe.m_scene = m_scene;
89 dupe.m_regionHandle = this.m_regionHandle; 83 dupe.m_regionHandle = this.m_regionHandle;
90 84
91 dupe.CopyRootPart(this.m_rootPart); 85 dupe.CopyRootPart(this.m_rootPart);
92 86
93 foreach (AllNewSceneObjectPart2 part in this.m_parts.Values) 87 foreach (AllNewSceneObjectPart2 part in this.m_parts.Values)
94 { 88 {
95 if (part.UUID != this.m_rootPart.UUID) 89 if (part.UUID != this.m_rootPart.UUID)
@@ -517,7 +511,7 @@ namespace OpenSim.Region.Environment.Scenes
517 /// <returns></returns> 511 /// <returns></returns>
518 public List<ScenePresence> RequestSceneAvatars() 512 public List<ScenePresence> RequestSceneAvatars()
519 { 513 {
520 return m_scene.RequestAvatarList(); 514 return m_scene.RequestAvatarList();
521 } 515 }
522 } 516 }
523} 517}