diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteRegionData.cs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteRegionData.cs b/OpenSim/Data/SQLite/SQLiteRegionData.cs index 4208050..bfd8279 100644 --- a/OpenSim/Data/SQLite/SQLiteRegionData.cs +++ b/OpenSim/Data/SQLite/SQLiteRegionData.cs | |||
@@ -360,10 +360,13 @@ namespace OpenSim.Data.SQLite | |||
360 | 360 | ||
361 | lock (ds) | 361 | lock (ds) |
362 | { | 362 | { |
363 | foreach (SceneObjectPart prim in obj.Children.Values) | 363 | lock (obj.Children) |
364 | { | 364 | { |
365 | // m_log.Info("[REGION DB]: Adding obj: " + obj.UUID + " to region: " + regionUUID); | 365 | foreach (SceneObjectPart prim in obj.Children.Values) |
366 | addPrim(prim, obj.UUID, regionUUID); | 366 | { |
367 | // m_log.Info("[REGION DB]: Adding obj: " + obj.UUID + " to region: " + regionUUID); | ||
368 | addPrim(prim, obj.UUID, regionUUID); | ||
369 | } | ||
367 | } | 370 | } |
368 | } | 371 | } |
369 | 372 | ||