diff options
author | Justin Clark-Casey (justincc) | 2010-08-26 00:17:26 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-08-26 00:17:26 +0100 |
commit | 692cf3c657aaa74645722491c997f23b4d6f8f76 (patch) | |
tree | 9eeceadc2e326f718ee1aed04e5547fa53a4ca31 /OpenSim/Data/SQLite | |
parent | replace m_parts.Count linknum with 0 in CopyRootPart since m_parts.Count is a... (diff) | |
download | opensim-SC_OLD-692cf3c657aaa74645722491c997f23b4d6f8f76.zip opensim-SC_OLD-692cf3c657aaa74645722491c997f23b4d6f8f76.tar.gz opensim-SC_OLD-692cf3c657aaa74645722491c997f23b4d6f8f76.tar.bz2 opensim-SC_OLD-692cf3c657aaa74645722491c997f23b4d6f8f76.tar.xz |
Remove parts locking from data classes since these are using a copy of the scene object
Diffstat (limited to 'OpenSim/Data/SQLite')
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteRegionData.cs | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteRegionData.cs b/OpenSim/Data/SQLite/SQLiteRegionData.cs index bfd8279..4208050 100644 --- a/OpenSim/Data/SQLite/SQLiteRegionData.cs +++ b/OpenSim/Data/SQLite/SQLiteRegionData.cs | |||
@@ -360,13 +360,10 @@ namespace OpenSim.Data.SQLite | |||
360 | 360 | ||
361 | lock (ds) | 361 | lock (ds) |
362 | { | 362 | { |
363 | lock (obj.Children) | 363 | foreach (SceneObjectPart prim in obj.Children.Values) |
364 | { | 364 | { |
365 | foreach (SceneObjectPart prim in obj.Children.Values) | 365 | // m_log.Info("[REGION DB]: Adding obj: " + obj.UUID + " to region: " + regionUUID); |
366 | { | 366 | addPrim(prim, obj.UUID, regionUUID); |
367 | // m_log.Info("[REGION DB]: Adding obj: " + obj.UUID + " to region: " + regionUUID); | ||
368 | addPrim(prim, obj.UUID, regionUUID); | ||
369 | } | ||
370 | } | 367 | } |
371 | } | 368 | } |
372 | 369 | ||