diff options
author | lbsa71 | 2007-12-28 08:34:38 +0000 |
---|---|---|
committer | lbsa71 | 2007-12-28 08:34:38 +0000 |
commit | 8cd72beb86d2a563bdaf88b20aa76d9bafa6b971 (patch) | |
tree | 8eaac3b70eb4b62db89cdfc7b854e85fa2430255 /OpenSim/Region/Storage | |
parent | * Patch from Melanie. Thanks Melanie! (diff) | |
download | opensim-SC_OLD-8cd72beb86d2a563bdaf88b20aa76d9bafa6b971.zip opensim-SC_OLD-8cd72beb86d2a563bdaf88b20aa76d9bafa6b971.tar.gz opensim-SC_OLD-8cd72beb86d2a563bdaf88b20aa76d9bafa6b971.tar.bz2 opensim-SC_OLD-8cd72beb86d2a563bdaf88b20aa76d9bafa6b971.tar.xz |
* 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
Diffstat (limited to 'OpenSim/Region/Storage')
-rw-r--r-- | OpenSim/Region/Storage/OpenSim.DataStore.MSSQL/MSSQLDataStore.cs | 4 | ||||
-rw-r--r-- | OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs | 4 |
2 files changed, 4 insertions, 4 deletions
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 | |||
199 | { | 199 | { |
200 | MainLog.Instance.Notice( | 200 | MainLog.Instance.Notice( |
201 | "No shape found for prim in storage, so setting default box shape"); | 201 | "No shape found for prim in storage, so setting default box shape"); |
202 | prim.Shape = BoxShape.Default; | 202 | prim.Shape = PrimitiveBaseShape.Default; |
203 | } | 203 | } |
204 | group.AddPart(prim); | 204 | group.AddPart(prim); |
205 | group.RootPart = prim; | 205 | group.RootPart = prim; |
@@ -219,7 +219,7 @@ namespace OpenSim.DataStore.MSSQL | |||
219 | { | 219 | { |
220 | MainLog.Instance.Notice( | 220 | MainLog.Instance.Notice( |
221 | "No shape found for prim in storage, so setting default box shape"); | 221 | "No shape found for prim in storage, so setting default box shape"); |
222 | prim.Shape = BoxShape.Default; | 222 | prim.Shape = PrimitiveBaseShape.Default; |
223 | } | 223 | } |
224 | createdObjects[new LLUUID(objID)].AddPart(prim); | 224 | createdObjects[new LLUUID(objID)].AddPart(prim); |
225 | } | 225 | } |
diff --git a/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs b/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs index 065d37d..b5a231e 100644 --- a/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs +++ b/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs | |||
@@ -265,7 +265,7 @@ namespace OpenSim.DataStore.MonoSqlite | |||
265 | { | 265 | { |
266 | MainLog.Instance.Notice( | 266 | MainLog.Instance.Notice( |
267 | "No shape found for prim in storage, so setting default box shape"); | 267 | "No shape found for prim in storage, so setting default box shape"); |
268 | prim.Shape = BoxShape.Default; | 268 | prim.Shape = PrimitiveBaseShape.Default; |
269 | } | 269 | } |
270 | group.AddPart(prim); | 270 | group.AddPart(prim); |
271 | group.RootPart = prim; | 271 | group.RootPart = prim; |
@@ -285,7 +285,7 @@ namespace OpenSim.DataStore.MonoSqlite | |||
285 | { | 285 | { |
286 | MainLog.Instance.Notice( | 286 | MainLog.Instance.Notice( |
287 | "No shape found for prim in storage, so setting default box shape"); | 287 | "No shape found for prim in storage, so setting default box shape"); |
288 | prim.Shape = BoxShape.Default; | 288 | prim.Shape = PrimitiveBaseShape.Default; |
289 | } | 289 | } |
290 | createdObjects[new LLUUID(objID)].AddPart(prim); | 290 | createdObjects[new LLUUID(objID)].AddPart(prim); |
291 | } | 291 | } |