aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 240d33c..e835281 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -3856,6 +3856,14 @@ namespace OpenSim.Region.Framework.Scenes
3856 3856
3857 // We have to wait until the viewer contacts this region after receiving EAC. 3857 // We have to wait until the viewer contacts this region after receiving EAC.
3858 // That calls AddNewClient, which finally creates the ScenePresence 3858 // That calls AddNewClient, which finally creates the ScenePresence
3859 int num = m_sceneGraph.GetNumberOfScenePresences();
3860
3861 if (num >= RegionInfo.RegionSettings.AgentLimit)
3862 {
3863 if (!Permissions.IsAdministrator(cAgentData.AgentID))
3864 return false;
3865 }
3866
3859 ScenePresence childAgentUpdate = WaitGetScenePresence(cAgentData.AgentID); 3867 ScenePresence childAgentUpdate = WaitGetScenePresence(cAgentData.AgentID);
3860 if (childAgentUpdate != null) 3868 if (childAgentUpdate != null)
3861 { 3869 {