diff options
author | BlueWall | 2012-05-18 19:32:26 -0400 |
---|---|---|
committer | BlueWall | 2012-05-18 19:34:12 -0400 |
commit | 895dadbdbdc0468fd1a0a9e146e1bf65279a2de7 (patch) | |
tree | 22c08d3aecc47d1c459029c8cb7bc78346f39f40 /OpenSim/Region/Framework/Scenes/Scene.cs | |
parent | Provide Telehub setting to allow use of landmarks (diff) | |
download | opensim-SC-895dadbdbdc0468fd1a0a9e146e1bf65279a2de7.zip opensim-SC-895dadbdbdc0468fd1a0a9e146e1bf65279a2de7.tar.gz opensim-SC-895dadbdbdc0468fd1a0a9e146e1bf65279a2de7.tar.bz2 opensim-SC-895dadbdbdc0468fd1a0a9e146e1bf65279a2de7.tar.xz |
Cleanup + change properties to set fields with private set : Thanks Justin for the tip.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index d09b895..29eed67 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -576,12 +576,14 @@ namespace OpenSim.Region.Framework.Scenes | |||
576 | public string SpawnPointRouting | 576 | public string SpawnPointRouting |
577 | { | 577 | { |
578 | get { return m_SpawnPointRouting; } | 578 | get { return m_SpawnPointRouting; } |
579 | private set { m_SpawnPointRouting = value; } | ||
579 | } | 580 | } |
580 | // allow landmarks to pass | 581 | // allow landmarks to pass |
581 | private bool m_TelehubAllowLandmarks; | 582 | private bool m_TelehubAllowLandmarks; |
582 | public bool TelehubAllowLandmarks | 583 | public bool TelehubAllowLandmarks |
583 | { | 584 | { |
584 | get { return m_TelehubAllowLandmarks; } | 585 | get { return m_TelehubAllowLandmarks; } |
586 | private set { m_TelehubAllowLandmarks = value; } | ||
585 | } | 587 | } |
586 | 588 | ||
587 | #endregion Properties | 589 | #endregion Properties |
@@ -738,8 +740,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
738 | 740 | ||
739 | m_defaultScriptEngine = startupConfig.GetString("DefaultScriptEngine", "XEngine"); | 741 | m_defaultScriptEngine = startupConfig.GetString("DefaultScriptEngine", "XEngine"); |
740 | 742 | ||
741 | m_SpawnPointRouting = startupConfig.GetString("SpawnPointRouting", "closest"); | 743 | SpawnPointRouting = startupConfig.GetString("SpawnPointRouting", "closest"); |
742 | m_TelehubAllowLandmarks = startupConfig.GetBoolean("TelehubAllowLandmark", false); | 744 | TelehubAllowLandmarks = startupConfig.GetBoolean("TelehubAllowLandmark", false); |
743 | 745 | ||
744 | IConfig packetConfig = m_config.Configs["PacketPool"]; | 746 | IConfig packetConfig = m_config.Configs["PacketPool"]; |
745 | if (packetConfig != null) | 747 | if (packetConfig != null) |