From 51104be6d41170bc17d0d24278868b6c1cddfed7 Mon Sep 17 00:00:00 2001
From: UbitUmarov
Date: Sun, 4 Dec 2016 17:56:47 +0000
Subject: remove SOG.FromPartID from main code and flag it obsolete
---
OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 3 +--
OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 7 ++++++-
2 files changed, 7 insertions(+), 3 deletions(-)
(limited to 'OpenSim/Region/Framework')
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
index daf7741..61ea8ac 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
@@ -2624,8 +2624,7 @@ namespace OpenSim.Region.Framework.Scenes
group.RootPart.Shape.LastAttachPoint = (byte)group.AttachmentPoint;
}
- group.FromPartID = sourcePart.UUID;
- group.RezzerID = group.FromPartID;
+ group.RezzerID = sourcePart.UUID;
if( i == 0)
AddNewSceneObject(group, true, curpos, rot, vel);
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
index fcbcc3f..e42b675 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
@@ -1059,7 +1059,12 @@ namespace OpenSim.Region.Framework.Scenes
///
/// If not applicable will be UUID.Zero
///
- public UUID FromPartID { get; set; }
+ /// obsolete use RezzerID
+ public UUID FromPartID
+ {
+ get { return RezzerID; }
+ set {RezzerID = value; }
+ }
///
/// The folder ID that this object was rezzed from, if applicable.
--
cgit v1.1