From 41c883ea47105d04087fb173047b6cd7e17be40d Mon Sep 17 00:00:00 2001
From: lbsa71
Date: Wed, 25 Feb 2009 11:01:38 +0000
Subject: * Refactored SOP.FolderID weirdness by removing calls to empty
setter. YEs, I do realize the setter has to be there for legacy reasons, but
since the calls will never acually DO anyhting, I'm removing them. * So,
SOP.FolderID is actually a cruft field that should be removed.
---
OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
(limited to 'OpenSim/Region')
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index 1470191..5b0480f 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -375,13 +375,15 @@ namespace OpenSim.Region.Framework.Scenes
}
///
+ /// A relic from when we we thought that prims contained folder objects. In
+ /// reality, prim == folder
/// Exposing this is not particularly good, but it's one of the least evils at the moment to see
/// folder id from prim inventory item data, since it's not (yet) actually stored with the prim.
///
public UUID FolderID
{
get { return UUID; }
- set { } // Don't allow assignment, or legacy prims wil b0rk
+ set { } // Don't allow assignment, or legacy prims wil b0rk - but we need the setter for legacy serialization.
}
///
--
cgit v1.1