Part 2 of see_into_this_sim_from_neighbor configuration option removal
parent
4b58d4ff95
commit
3bead3eb50
|
@ -84,18 +84,15 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
{
|
||||
if (m_pendingObjects == null)
|
||||
{
|
||||
if (!m_presence.IsChildAgent)
|
||||
{
|
||||
m_pendingObjects = new Queue<SceneObjectGroup>();
|
||||
m_pendingObjects = new Queue<SceneObjectGroup>();
|
||||
|
||||
lock (m_pendingObjects)
|
||||
lock (m_pendingObjects)
|
||||
{
|
||||
EntityBase[] entities = m_presence.Scene.Entities.GetEntities();
|
||||
foreach (EntityBase e in entities)
|
||||
{
|
||||
EntityBase[] entities = m_presence.Scene.Entities.GetEntities();
|
||||
foreach (EntityBase e in entities)
|
||||
{
|
||||
if (e != null && e is SceneObjectGroup)
|
||||
m_pendingObjects.Enqueue((SceneObjectGroup)e);
|
||||
}
|
||||
if (e != null && e is SceneObjectGroup)
|
||||
m_pendingObjects.Enqueue((SceneObjectGroup)e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue