mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
First pass at cleaning up thread safety in EntityManager and SceneGraph
This commit is contained in:
@@ -101,7 +101,8 @@ namespace OpenSim.Region.DataSnapshot.Providers
|
||||
XmlNode parent = nodeFactory.CreateNode(XmlNodeType.Element, "objectdata", "");
|
||||
XmlNode node;
|
||||
|
||||
foreach (EntityBase entity in m_scene.Entities)
|
||||
EntityBase[] entities = m_scene.Entities.GetEntities();
|
||||
foreach (EntityBase entity in entities)
|
||||
{
|
||||
// only objects, not avatars
|
||||
if (entity is SceneObjectGroup)
|
||||
|
||||
Reference in New Issue
Block a user