From a1393db7f0cb542f10f52ac739c78f15ee28ce77 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Tue, 10 Feb 2009 12:25:29 +0000 Subject: Stopgap measure: To use gridlaunch, or GUI, start opensim with OpenSim.exe -gui=true --- OpenSim/Region/Application/OpenSim.cs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'OpenSim/Region/Application/OpenSim.cs') 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 private string m_timedScript = "disabled"; private Timer m_scriptTimer; + private bool m_gui = false; public OpenSim(IConfigSource configSource) : base(configSource) { @@ -74,6 +75,8 @@ namespace OpenSim m_startupCommandsFile = startupConfig.GetString("startup_console_commands_file", String.Empty); m_shutdownCommandsFile = startupConfig.GetString("shutdown_console_commands_file", String.Empty); + m_gui = startupConfig.GetBoolean("gui", false); + m_timedScript = startupConfig.GetString("timer_Script", "disabled"); } } @@ -93,6 +96,7 @@ namespace OpenSim //m_log.InfoFormat("[OPENSIM MAIN]: GC Latency Mode: {0}", GCSettings.LatencyMode.ToString()); m_console = new ConsoleBase("Region"); + m_console.SetGuiMode(m_gui); MainConsole.Instance = m_console; m_console.Commands.AddCommand("region", "clear assets", -- cgit v1.1