diff options
Diffstat (limited to 'OpenSim/Data/SQLiteLegacy/SQLiteRegionData.cs')
-rw-r--r-- | OpenSim/Data/SQLiteLegacy/SQLiteRegionData.cs | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/OpenSim/Data/SQLiteLegacy/SQLiteRegionData.cs b/OpenSim/Data/SQLiteLegacy/SQLiteRegionData.cs index 779b2ed..289fd94 100644 --- a/OpenSim/Data/SQLiteLegacy/SQLiteRegionData.cs +++ b/OpenSim/Data/SQLiteLegacy/SQLiteRegionData.cs | |||
@@ -327,13 +327,10 @@ namespace OpenSim.Data.SQLiteLegacy | |||
327 | 327 | ||
328 | lock (ds) | 328 | lock (ds) |
329 | { | 329 | { |
330 | lock (obj.Children) | 330 | foreach (SceneObjectPart prim in obj.Children.Values) |
331 | { | 331 | { |
332 | foreach (SceneObjectPart prim in obj.Children.Values) | 332 | // m_log.Info("[REGION DB]: Adding obj: " + obj.UUID + " to region: " + regionUUID); |
333 | { | 333 | addPrim(prim, obj.UUID, regionUUID); |
334 | // m_log.Info("[REGION DB]: Adding obj: " + obj.UUID + " to region: " + regionUUID); | ||
335 | addPrim(prim, obj.UUID, regionUUID); | ||
336 | } | ||
337 | } | 334 | } |
338 | } | 335 | } |
339 | 336 | ||