aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-08-03 02:08:04 +0100
committerJustin Clark-Casey (justincc)2012-08-03 02:08:04 +0100
commit08ec18f8a3959c7326cea634258c0c04d2170b36 (patch)
tree0176ac491bec7d4f04af5ba0cbddfae4772a3eec /OpenSim/Region/Framework
parentImprovedTerseObjectUpdate packet does not support shape updates, thus schedul... (diff)
downloadopensim-SC_OLD-08ec18f8a3959c7326cea634258c0c04d2170b36.zip
opensim-SC_OLD-08ec18f8a3959c7326cea634258c0c04d2170b36.tar.gz
opensim-SC_OLD-08ec18f8a3959c7326cea634258c0c04d2170b36.tar.bz2
opensim-SC_OLD-08ec18f8a3959c7326cea634258c0c04d2170b36.tar.xz
Don't bothre setting RezzingObjectID to UUID.Zero in SOG constructor - this is already its default value as it's a struct.
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
index 13cc5cd..890971d 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
@@ -642,7 +642,6 @@ namespace OpenSim.Region.Framework.Scenes
642 /// </summary> 642 /// </summary>
643 public SceneObjectGroup() 643 public SceneObjectGroup()
644 { 644 {
645 RezzingObjectID = UUID.Zero;
646 } 645 }
647 646
648 /// <summary> 647 /// <summary>
@@ -650,7 +649,8 @@ namespace OpenSim.Region.Framework.Scenes
650 /// The original SceneObjectPart will be used rather than a copy, preserving 649 /// The original SceneObjectPart will be used rather than a copy, preserving
651 /// its existing localID and UUID. 650 /// its existing localID and UUID.
652 /// </summary> 651 /// </summary>
653 public SceneObjectGroup(SceneObjectPart part) : this() 652 /// <param name='part'>Root part for this scene object.</param>
653 public SceneObjectGroup(SceneObjectPart part)
654 { 654 {
655 SetRootPart(part); 655 SetRootPart(part);
656 } 656 }
@@ -658,7 +658,8 @@ namespace OpenSim.Region.Framework.Scenes
658 /// <summary> 658 /// <summary>
659 /// Constructor. This object is added to the scene later via AttachToScene() 659 /// Constructor. This object is added to the scene later via AttachToScene()
660 /// </summary> 660 /// </summary>
661 public SceneObjectGroup(UUID ownerID, Vector3 pos, Quaternion rot, PrimitiveBaseShape shape) :this(new SceneObjectPart(ownerID, shape, pos, rot, Vector3.Zero)) 661 public SceneObjectGroup(UUID ownerID, Vector3 pos, Quaternion rot, PrimitiveBaseShape shape)
662 :this(new SceneObjectPart(ownerID, shape, pos, rot, Vector3.Zero))
662 { 663 {
663 } 664 }
664 665