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/Data/MSSQL/MSSQLRegionData.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'OpenSim/Data/MSSQL/MSSQLRegionData.cs') diff --git a/OpenSim/Data/MSSQL/MSSQLRegionData.cs b/OpenSim/Data/MSSQL/MSSQLRegionData.cs index d9565d4..f284c8d 100644 --- a/OpenSim/Data/MSSQL/MSSQLRegionData.cs +++ b/OpenSim/Data/MSSQL/MSSQLRegionData.cs @@ -122,10 +122,7 @@ namespace OpenSim.Data.MSSQL sceneObjectPart.Shape = PrimitiveBaseShape.Default; else sceneObjectPart.Shape = BuildShape(reader); - - // A relic from when we we thought that prims contained folder objects. In - // reality, prim == folder - sceneObjectPart.FolderID = sceneObjectPart.UUID; + sceneObjectParts.Add(sceneObjectPart); UUID groupID = new UUID((Guid)reader["SceneGroupID"]); -- cgit v1.1