Merge commit '37ae6451f9ddb2e07402a5e79a9ab58668781104' into bigmerge
Conflicts: OpenSim/Region/Framework/Scenes/Scene.csavinationmerge
commit
1b3ea64fe9
|
@ -33,15 +33,12 @@ namespace OpenSim.Framework
|
|||
{
|
||||
public delegate void restart(RegionInfo thisRegion);
|
||||
|
||||
//public delegate void regionup (RegionInfo thisRegion);
|
||||
|
||||
public enum RegionStatus : int
|
||||
{
|
||||
Down = 0,
|
||||
Up = 1,
|
||||
Crashed = 2,
|
||||
Starting = 3,
|
||||
SlaveScene = 4
|
||||
};
|
||||
|
||||
/// <value>
|
||||
|
|
|
@ -929,8 +929,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
|||
UUID sessionID = useCircuitCode.CircuitCode.SessionID;
|
||||
uint circuitCode = useCircuitCode.CircuitCode.Code;
|
||||
|
||||
if (m_scene.RegionStatus != RegionStatus.SlaveScene)
|
||||
{
|
||||
AuthenticateResponse sessionInfo;
|
||||
if (IsClientAuthorized(useCircuitCode, out sessionInfo))
|
||||
{
|
||||
|
@ -944,12 +942,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
|||
useCircuitCode.CircuitCode.ID, useCircuitCode.CircuitCode.Code, remoteEndPoint);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// Slave regions don't accept new clients
|
||||
m_log.Debug("[LLUDPSERVER]: Slave region " + m_scene.RegionInfo.RegionName + " ignoring UseCircuitCode packet");
|
||||
}
|
||||
}
|
||||
|
||||
protected virtual void AddClient(uint circuitCode, UUID agentID, UUID sessionID, IPEndPoint remoteEndPoint, AuthenticateResponse sessionInfo)
|
||||
{
|
||||
|
|
|
@ -1303,8 +1303,6 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
tempOnRezMS = Util.EnvironmentTickCountSubtract(tmpTempOnRezMS);
|
||||
}
|
||||
|
||||
if (RegionStatus != RegionStatus.SlaveScene)
|
||||
{
|
||||
if (Frame % m_update_events == 0)
|
||||
{
|
||||
int evMS = Util.EnvironmentTickCount();
|
||||
|
@ -1312,6 +1310,13 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
eventMS = Util.EnvironmentTickCountSubtract(evMS); ;
|
||||
}
|
||||
|
||||
// if (Frame % m_update_land == 0)
|
||||
// {
|
||||
// int ldMS = Util.EnvironmentTickCount();
|
||||
// UpdateLand();
|
||||
// landMS = Util.EnvironmentTickCountSubtract(ldMS);
|
||||
// }
|
||||
|
||||
if (Frame % m_update_backup == 0)
|
||||
{
|
||||
int backMS = Util.EnvironmentTickCount();
|
||||
|
@ -1351,7 +1356,6 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
StatsReporter.addOtherMS(otherMS);
|
||||
StatsReporter.SetActiveScripts(m_sceneGraph.GetActiveScriptsCount());
|
||||
StatsReporter.addScriptLines(m_sceneGraph.GetScriptLPS());
|
||||
}
|
||||
|
||||
if (LoginsDisabled && Frame == 20)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue