aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs10
1 files changed, 9 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index 3a06e7d..b95b5be 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -460,7 +460,7 @@ namespace OpenSim.Region.Framework.Scenes
460 m_name = "Object"; 460 m_name = "Object";
461 461
462 CreationDate = (int)Utils.DateTimeToUnixTime(Rezzed); 462 CreationDate = (int)Utils.DateTimeToUnixTime(Rezzed);
463 LastOwnerID = CreatorID = OwnerID = ownerID; 463 RezzerID = LastOwnerID = CreatorID = OwnerID = ownerID;
464 UUID = UUID.Random(); 464 UUID = UUID.Random();
465 Shape = shape; 465 Shape = shape;
466 OwnershipCost = 0; 466 OwnershipCost = 0;
@@ -484,6 +484,7 @@ namespace OpenSim.Region.Framework.Scenes
484 484
485 #region XML Schema 485 #region XML Schema
486 486
487 private UUID _rezzerID;
487 private UUID _lastOwnerID; 488 private UUID _lastOwnerID;
488 private UUID _ownerID; 489 private UUID _ownerID;
489 private UUID _groupID; 490 private UUID _groupID;
@@ -1385,6 +1386,12 @@ namespace OpenSim.Region.Framework.Scenes
1385 set { _lastOwnerID = value; } 1386 set { _lastOwnerID = value; }
1386 } 1387 }
1387 1388
1389 public UUID RezzerID
1390 {
1391 get { return _rezzerID; }
1392 set { _rezzerID = value; }
1393 }
1394
1388 public uint BaseMask 1395 public uint BaseMask
1389 { 1396 {
1390 get { return _baseMask; } 1397 get { return _baseMask; }
@@ -2222,6 +2229,7 @@ namespace OpenSim.Region.Framework.Scenes
2222 2229
2223 // This may be wrong... it might have to be applied in SceneObjectGroup to the object that's being duplicated. 2230 // This may be wrong... it might have to be applied in SceneObjectGroup to the object that's being duplicated.
2224 dupe.LastOwnerID = OwnerID; 2231 dupe.LastOwnerID = OwnerID;
2232 dupe.RezzerID = RezzerID;
2225 2233
2226 byte[] extraP = new byte[Shape.ExtraParams.Length]; 2234 byte[] extraP = new byte[Shape.ExtraParams.Length];
2227 Array.Copy(Shape.ExtraParams, extraP, extraP.Length); 2235 Array.Copy(Shape.ExtraParams, extraP, extraP.Length);