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/Framework/Data.MySQL/MySQLDataStore.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Framework/Data.MySQL') diff --git a/OpenSim/Framework/Data.MySQL/MySQLDataStore.cs b/OpenSim/Framework/Data.MySQL/MySQLDataStore.cs index fcf8c6f..3c25533 100644 --- a/OpenSim/Framework/Data.MySQL/MySQLDataStore.cs +++ b/OpenSim/Framework/Data.MySQL/MySQLDataStore.cs @@ -203,7 +203,7 @@ namespace OpenSim.Framework.Data.MySQL { 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; @@ -223,7 +223,7 @@ namespace OpenSim.Framework.Data.MySQL { 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