Remove parts locking from data classes since these are using a copy of the scene object

This commit is contained in:
Justin Clark-Casey (justincc)
2010-08-26 00:17:26 +01:00
parent 166ab59420
commit 692cf3c657
4 changed files with 160 additions and 173 deletions

View File

@@ -327,13 +327,10 @@ namespace OpenSim.Data.SQLiteLegacy
lock (ds)
{
lock (obj.Children)
foreach (SceneObjectPart prim in obj.Children.Values)
{
foreach (SceneObjectPart prim in obj.Children.Values)
{
// m_log.Info("[REGION DB]: Adding obj: " + obj.UUID + " to region: " + regionUUID);
addPrim(prim, obj.UUID, regionUUID);
}
// m_log.Info("[REGION DB]: Adding obj: " + obj.UUID + " to region: " + regionUUID);
addPrim(prim, obj.UUID, regionUUID);
}
}