aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/AllNewSceneObjectGroup2.cs
diff options
context:
space:
mode:
authorMW2007-08-03 20:09:55 +0000
committerMW2007-08-03 20:09:55 +0000
commita6aea50eac781ac2f9f651ceb2f188da807e8110 (patch)
tree4f1f5131d1d50dacc2e956b8d14de002961e4c92 /OpenSim/Region/Environment/Scenes/AllNewSceneObjectGroup2.cs
parent* Changed some names (diff)
downloadopensim-SC_OLD-a6aea50eac781ac2f9f651ceb2f188da807e8110.zip
opensim-SC_OLD-a6aea50eac781ac2f9f651ceb2f188da807e8110.tar.gz
opensim-SC_OLD-a6aea50eac781ac2f9f651ceb2f188da807e8110.tar.bz2
opensim-SC_OLD-a6aea50eac781ac2f9f651ceb2f188da807e8110.tar.xz
changed the properties so that most of them only take up one line per get/set.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/AllNewSceneObjectGroup2.cs')
-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}