TEMP: commented out agent limits in scene as a workaround for DSG demos
parent
b3efab2bbd
commit
3a582a4cec
|
@ -4357,11 +4357,13 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
|
|
||||||
int num = m_sceneGraph.GetNumberOfScenePresences();
|
int num = m_sceneGraph.GetNumberOfScenePresences();
|
||||||
|
|
||||||
if (num >= RegionInfo.RegionSettings.AgentLimit)
|
// TEMP WORKAROUND for DSG DEMO
|
||||||
|
// REGION SYNC
|
||||||
|
/*if (num >= RegionInfo.RegionSettings.AgentLimit)
|
||||||
{
|
{
|
||||||
if (!Permissions.IsAdministrator(cAgentData.AgentID))
|
if (!Permissions.IsAdministrator(cAgentData.AgentID))
|
||||||
return false;
|
return false;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
|
|
||||||
ScenePresence childAgentUpdate = WaitGetScenePresence(cAgentData.AgentID);
|
ScenePresence childAgentUpdate = WaitGetScenePresence(cAgentData.AgentID);
|
||||||
|
@ -5729,14 +5731,16 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
{
|
{
|
||||||
int num = m_sceneGraph.GetNumberOfScenePresences();
|
int num = m_sceneGraph.GetNumberOfScenePresences();
|
||||||
|
|
||||||
if (num >= RegionInfo.RegionSettings.AgentLimit)
|
// TEMP WORKAROUND for DSG DEMO
|
||||||
|
// REGION SYNC
|
||||||
|
/*if (num >= RegionInfo.RegionSettings.AgentLimit)
|
||||||
{
|
{
|
||||||
if (!Permissions.IsAdministrator(agentID))
|
if (!Permissions.IsAdministrator(agentID))
|
||||||
{
|
{
|
||||||
reason = "The region is full";
|
reason = "The region is full";
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
|
|
||||||
reason = String.Empty;
|
reason = String.Empty;
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue