diff options
Diffstat (limited to 'OpenSim/Data/SQLite/SQLiteRegionData.cs')
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteRegionData.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteRegionData.cs b/OpenSim/Data/SQLite/SQLiteRegionData.cs index fce98a2..306dcb8 100644 --- a/OpenSim/Data/SQLite/SQLiteRegionData.cs +++ b/OpenSim/Data/SQLite/SQLiteRegionData.cs | |||
@@ -419,6 +419,7 @@ namespace OpenSim.Data.SQLite | |||
419 | 419 | ||
420 | string uuid = (string) primRow["UUID"]; | 420 | string uuid = (string) primRow["UUID"]; |
421 | string objID = (string) primRow["SceneGroupID"]; | 421 | string objID = (string) primRow["SceneGroupID"]; |
422 | |||
422 | if (uuid == objID) //is new SceneObjectGroup ? | 423 | if (uuid == objID) //is new SceneObjectGroup ? |
423 | { | 424 | { |
424 | SceneObjectGroup group = new SceneObjectGroup(); | 425 | SceneObjectGroup group = new SceneObjectGroup(); |
@@ -451,6 +452,7 @@ namespace OpenSim.Data.SQLite | |||
451 | } | 452 | } |
452 | } | 453 | } |
453 | } | 454 | } |
455 | |||
454 | // Now fill the groups with part data | 456 | // Now fill the groups with part data |
455 | foreach (DataRow primRow in primsForRegion) | 457 | foreach (DataRow primRow in primsForRegion) |
456 | { | 458 | { |
@@ -470,10 +472,11 @@ namespace OpenSim.Data.SQLite | |||
470 | } | 472 | } |
471 | else | 473 | else |
472 | { | 474 | { |
473 | m_log.Info( | 475 | m_log.Warn( |
474 | "[REGION DB]: No shape found for prim in storage, so setting default box shape"); | 476 | "[REGION DB]: No shape found for prim in storage, so setting default box shape"); |
475 | prim.Shape = PrimitiveBaseShape.Default; | 477 | prim.Shape = PrimitiveBaseShape.Default; |
476 | } | 478 | } |
479 | |||
477 | createdObjects[new UUID(objID)].AddPart(prim); | 480 | createdObjects[new UUID(objID)].AddPart(prim); |
478 | LoadItems(prim); | 481 | LoadItems(prim); |
479 | } | 482 | } |