From ee205e7e812e170f670e690a4e0fa9caa652f226 Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Thu, 1 Oct 2009 01:00:09 +0900 Subject: Formatting cleanup. --- OpenSim/Region/Application/Application.cs | 2 +- OpenSim/Region/Application/OpenSim.cs | 8 ++++---- OpenSim/Region/Application/OpenSimBase.cs | 16 ++++++++-------- 3 files changed, 13 insertions(+), 13 deletions(-) (limited to 'OpenSim/Region/Application') diff --git a/OpenSim/Region/Application/Application.cs b/OpenSim/Region/Application/Application.cs index 2fd26bf..241af53 100644 --- a/OpenSim/Region/Application/Application.cs +++ b/OpenSim/Region/Application/Application.cs @@ -91,7 +91,7 @@ namespace OpenSim m_log.Info("[OPENSIM MAIN]: configured log4net using default OpenSim.exe.config"); } - // Check if the system is compatible with OpenSimulator. + // Check if the system is compatible with OpenSimulator. // Ensures that the minimum system requirements are met m_log.Info("Performing compatibility checks... "); string supported = String.Empty; diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index d7a4944..f070812 100644 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs @@ -1245,20 +1245,20 @@ namespace OpenSim protected void LoadOar(string module, string[] cmdparams) { try - { + { if (cmdparams.Length > 2) { - m_sceneManager.LoadArchiveToCurrentScene(cmdparams[2]); + m_sceneManager.LoadArchiveToCurrentScene(cmdparams[2]); } else { - m_sceneManager.LoadArchiveToCurrentScene(DEFAULT_OAR_BACKUP_FILENAME); + m_sceneManager.LoadArchiveToCurrentScene(DEFAULT_OAR_BACKUP_FILENAME); } } catch (Exception e) { m_log.Error(e.Message); - } + } } /// diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs index 821de35..468c5d7 100644 --- a/OpenSim/Region/Application/OpenSimBase.cs +++ b/OpenSim/Region/Application/OpenSimBase.cs @@ -98,7 +98,7 @@ namespace OpenSim /// /// The config information passed into the OpenSimulator region server. - /// + /// public OpenSimConfigSource ConfigSource { get { return m_config; } @@ -383,14 +383,14 @@ namespace OpenSim scene.SetModuleInterfaces(); - // Prims have to be loaded after module configuration since some modules may be invoked during the load + // Prims have to be loaded after module configuration since some modules may be invoked during the load scene.LoadPrimsFromStorage(regionInfo.originRegionID); // moved these here as the terrain texture has to be created after the modules are initialized // and has to happen before the region is registered with the grid. scene.CreateTerrainTexture(false); - // TODO : Try setting resource for region xstats here on scene + // TODO : Try setting resource for region xstats here on scene MainServer.Instance.AddStreamHandler(new Region.Framework.Scenes.RegionStatsHandler(regionInfo)); try @@ -507,7 +507,7 @@ namespace OpenSim /// Remove a region from the simulator without deleting it permanently. /// /// - /// + /// public void CloseRegion(Scene scene) { // only need to check this if we are not at the @@ -526,7 +526,7 @@ namespace OpenSim /// Remove a region from the simulator without deleting it permanently. /// /// - /// + /// public void CloseRegion(string name) { Scene target; @@ -539,7 +539,7 @@ namespace OpenSim /// /// /// - /// + /// protected Scene SetupScene(RegionInfo regionInfo, out IClientNetworkServer clientServer) { return SetupScene(regionInfo, 0, null, out clientServer); @@ -750,7 +750,7 @@ namespace OpenSim } public string Path - { + { // This is for the OpenSimulator instance and is the osSecret hashed get { return "/" + osXStatsURI + "/"; } } @@ -791,7 +791,7 @@ namespace OpenSim } public string Path - { + { // This is for the OpenSimulator instance and is the user provided URI get { return "/" + osUXStatsURI + "/"; } } -- cgit v1.1