From 8cd72beb86d2a563bdaf88b20aa76d9bafa6b971 Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Fri, 28 Dec 2007 08:34:38 +0000 Subject: * Moved PrimitiveBaseShape subclasses into factory methods - the subclassing scheme won't hold for serialization * Extracted out the 'old' AddNewPrimitive that places an object at an exact pos, without the raytracing --- OpenSim/Region/Storage/OpenSim.DataStore.MSSQL/MSSQLDataStore.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/Storage/OpenSim.DataStore.MSSQL') diff --git a/OpenSim/Region/Storage/OpenSim.DataStore.MSSQL/MSSQLDataStore.cs b/OpenSim/Region/Storage/OpenSim.DataStore.MSSQL/MSSQLDataStore.cs index 5818583..ac9b741 100644 --- a/OpenSim/Region/Storage/OpenSim.DataStore.MSSQL/MSSQLDataStore.cs +++ b/OpenSim/Region/Storage/OpenSim.DataStore.MSSQL/MSSQLDataStore.cs @@ -199,7 +199,7 @@ namespace OpenSim.DataStore.MSSQL { MainLog.Instance.Notice( "No shape found for prim in storage, so setting default box shape"); - prim.Shape = BoxShape.Default; + prim.Shape = PrimitiveBaseShape.Default; } group.AddPart(prim); group.RootPart = prim; @@ -219,7 +219,7 @@ namespace OpenSim.DataStore.MSSQL { MainLog.Instance.Notice( "No shape found for prim in storage, so setting default box shape"); - prim.Shape = BoxShape.Default; + prim.Shape = PrimitiveBaseShape.Default; } createdObjects[new LLUUID(objID)].AddPart(prim); } -- cgit v1.1