aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application/OpenSim.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Application/OpenSim.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs
index d706e05..1c7751d 100644
--- a/OpenSim/Region/Application/OpenSim.cs
+++ b/OpenSim/Region/Application/OpenSim.cs
@@ -58,6 +58,7 @@ namespace OpenSim
58 58
59 private string m_timedScript = "disabled"; 59 private string m_timedScript = "disabled";
60 private Timer m_scriptTimer; 60 private Timer m_scriptTimer;
61 private bool m_gui = false;
61 62
62 public OpenSim(IConfigSource configSource) : base(configSource) 63 public OpenSim(IConfigSource configSource) : base(configSource)
63 { 64 {
@@ -74,6 +75,8 @@ namespace OpenSim
74 m_startupCommandsFile = startupConfig.GetString("startup_console_commands_file", String.Empty); 75 m_startupCommandsFile = startupConfig.GetString("startup_console_commands_file", String.Empty);
75 m_shutdownCommandsFile = startupConfig.GetString("shutdown_console_commands_file", String.Empty); 76 m_shutdownCommandsFile = startupConfig.GetString("shutdown_console_commands_file", String.Empty);
76 77
78 m_gui = startupConfig.GetBoolean("gui", false);
79
77 m_timedScript = startupConfig.GetString("timer_Script", "disabled"); 80 m_timedScript = startupConfig.GetString("timer_Script", "disabled");
78 } 81 }
79 } 82 }
@@ -93,6 +96,7 @@ namespace OpenSim
93 //m_log.InfoFormat("[OPENSIM MAIN]: GC Latency Mode: {0}", GCSettings.LatencyMode.ToString()); 96 //m_log.InfoFormat("[OPENSIM MAIN]: GC Latency Mode: {0}", GCSettings.LatencyMode.ToString());
94 97
95 m_console = new ConsoleBase("Region"); 98 m_console = new ConsoleBase("Region");
99 m_console.SetGuiMode(m_gui);
96 MainConsole.Instance = m_console; 100 MainConsole.Instance = m_console;
97 101
98 m_console.Commands.AddCommand("region", "clear assets", 102 m_console.Commands.AddCommand("region", "clear assets",