Another cleanup: Region_Status renamed to RegionStatus, and a usage comment added
parent
068127bf57
commit
119aeeed7d
|
@ -59,7 +59,7 @@ namespace OpenSim.Framework
|
|||
public interface IScene
|
||||
{
|
||||
RegionInfo RegionInfo { get; }
|
||||
RegionStatus Region_Status { get; set; }
|
||||
RegionStatus RegionStatus { get; set; }
|
||||
|
||||
ClientManager ClientManager { get; }
|
||||
event restart OnRestart;
|
||||
|
|
|
@ -403,7 +403,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
|||
protected virtual void AddNewClient(UseCircuitCodePacket useCircuit, EndPoint epSender, EndPoint epProxy)
|
||||
{
|
||||
//Slave regions don't accept new clients
|
||||
if (m_localScene.Region_Status != RegionStatus.SlaveScene)
|
||||
if (m_localScene.RegionStatus != RegionStatus.SlaveScene)
|
||||
{
|
||||
AuthenticateResponse sessionInfo;
|
||||
bool isNewCircuit = false;
|
||||
|
|
|
@ -886,7 +886,7 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
if (m_frame % m_update_backup == 0)
|
||||
CleanTempObjects();
|
||||
|
||||
if (Region_Status != RegionStatus.SlaveScene)
|
||||
if (RegionStatus != RegionStatus.SlaveScene)
|
||||
{
|
||||
if (m_frame % m_update_events == 0)
|
||||
UpdateEvents();
|
||||
|
|
|
@ -127,9 +127,9 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
|
||||
protected string m_datastore;
|
||||
|
||||
/* Used by the loadbalancer plugin on GForge */
|
||||
protected RegionStatus m_regStatus;
|
||||
|
||||
public RegionStatus Region_Status
|
||||
public RegionStatus RegionStatus
|
||||
{
|
||||
get { return m_regStatus; }
|
||||
set { m_regStatus = value; }
|
||||
|
|
Loading…
Reference in New Issue