* Removed more locks on Entities

* Entities should now in theory be lock-free externally.
* Other properties may cause blocking however[?].
* ScenePresence maintains separate locks so isn't fixed by this commit.
This commit is contained in:
Adam Frisby
2008-11-24 15:14:33 +00:00
parent 2305ef61a5
commit 2a8ff937d5
3 changed files with 8 additions and 32 deletions

View File

@@ -788,10 +788,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
}
EntityBase SensedObject;
lock (World.Entities)
{
World.Entities.TryGetValue(objecUUID, out SensedObject);
}
World.Entities.TryGetValue(objecUUID, out SensedObject);
if (SensedObject == null)
return String.Empty;