aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs')
-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 c9345e5..13cc5cd 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
@@ -26,6 +26,7 @@
26 */ 26 */
27 27
28using System; 28using System;
29using System.ComponentModel;
29using System.Collections.Generic; 30using System.Collections.Generic;
30using System.Drawing; 31using System.Drawing;
31using System.IO; 32using System.IO;
@@ -641,6 +642,7 @@ namespace OpenSim.Region.Framework.Scenes
641 /// </summary> 642 /// </summary>
642 public SceneObjectGroup() 643 public SceneObjectGroup()
643 { 644 {
645 RezzingObjectID = UUID.Zero;
644 } 646 }
645 647
646 /// <summary> 648 /// <summary>
@@ -648,7 +650,7 @@ namespace OpenSim.Region.Framework.Scenes
648 /// The original SceneObjectPart will be used rather than a copy, preserving 650 /// The original SceneObjectPart will be used rather than a copy, preserving
649 /// its existing localID and UUID. 651 /// its existing localID and UUID.
650 /// </summary> 652 /// </summary>
651 public SceneObjectGroup(SceneObjectPart part) 653 public SceneObjectGroup(SceneObjectPart part) : this()
652 { 654 {
653 SetRootPart(part); 655 SetRootPart(part);
654 } 656 }
@@ -656,9 +658,8 @@ namespace OpenSim.Region.Framework.Scenes
656 /// <summary> 658 /// <summary>
657 /// Constructor. This object is added to the scene later via AttachToScene() 659 /// Constructor. This object is added to the scene later via AttachToScene()
658 /// </summary> 660 /// </summary>
659 public SceneObjectGroup(UUID ownerID, Vector3 pos, Quaternion rot, PrimitiveBaseShape shape) 661 public SceneObjectGroup(UUID ownerID, Vector3 pos, Quaternion rot, PrimitiveBaseShape shape) :this(new SceneObjectPart(ownerID, shape, pos, rot, Vector3.Zero))
660 { 662 {
661 SetRootPart(new SceneObjectPart(ownerID, shape, pos, rot, Vector3.Zero));
662 } 663 }
663 664
664 /// <summary> 665 /// <summary>