diff options
author | Melanie | 2011-11-10 20:54:44 +0000 |
---|---|---|
committer | Melanie | 2011-11-10 20:54:44 +0000 |
commit | 444b345cdf7d5a1bf13a66334fc3c8d7f39d9032 (patch) | |
tree | b8b9287a273c3e38c78c049800e1804f05190b60 /OpenSim/Region/Application | |
parent | Fix misaligned sit animation on scripted sit caused by the default sit (diff) | |
parent | convert tabs from commit 3758306 to spaces (diff) | |
download | opensim-SC-444b345cdf7d5a1bf13a66334fc3c8d7f39d9032.zip opensim-SC-444b345cdf7d5a1bf13a66334fc3c8d7f39d9032.tar.gz opensim-SC-444b345cdf7d5a1bf13a66334fc3c8d7f39d9032.tar.bz2 opensim-SC-444b345cdf7d5a1bf13a66334fc3c8d7f39d9032.tar.xz |
Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim
Diffstat (limited to 'OpenSim/Region/Application')
-rw-r--r-- | OpenSim/Region/Application/OpenSim.cs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index 52b19ea..9fe284f 100644 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs | |||
@@ -56,7 +56,7 @@ namespace OpenSim | |||
56 | protected bool m_gui = false; | 56 | protected bool m_gui = false; |
57 | protected string m_consoleType = "local"; | 57 | protected string m_consoleType = "local"; |
58 | protected uint m_consolePort = 0; | 58 | protected uint m_consolePort = 0; |
59 | protected string m_custom_prompt; | 59 | protected string m_custom_prompt; |
60 | 60 | ||
61 | private string m_timedScript = "disabled"; | 61 | private string m_timedScript = "disabled"; |
62 | private Timer m_scriptTimer; | 62 | private Timer m_scriptTimer; |
@@ -86,7 +86,9 @@ namespace OpenSim | |||
86 | 86 | ||
87 | if (networkConfig != null) | 87 | if (networkConfig != null) |
88 | m_consolePort = (uint)networkConfig.GetInt("console_port", 0); | 88 | m_consolePort = (uint)networkConfig.GetInt("console_port", 0); |
89 | |||
89 | m_timedScript = startupConfig.GetString("timer_Script", "disabled"); | 90 | m_timedScript = startupConfig.GetString("timer_Script", "disabled"); |
91 | |||
90 | if (m_logFileAppender != null) | 92 | if (m_logFileAppender != null) |
91 | { | 93 | { |
92 | if (m_logFileAppender is log4net.Appender.FileAppender) | 94 | if (m_logFileAppender is log4net.Appender.FileAppender) |
@@ -109,7 +111,7 @@ namespace OpenSim | |||
109 | Util.FireAndForgetMethod = asyncCallMethod; | 111 | Util.FireAndForgetMethod = asyncCallMethod; |
110 | 112 | ||
111 | stpMaxThreads = startupConfig.GetInt("MaxPoolThreads", 15); | 113 | stpMaxThreads = startupConfig.GetInt("MaxPoolThreads", 15); |
112 | m_custom_prompt = startupConfig.GetString("custom_prompt", "Region"); | 114 | m_custom_prompt = startupConfig.GetString("custom_prompt", "Region"); |
113 | } | 115 | } |
114 | 116 | ||
115 | if (Util.FireAndForgetMethod == FireAndForgetMethod.SmartThreadPool) | 117 | if (Util.FireAndForgetMethod == FireAndForgetMethod.SmartThreadPool) |
@@ -830,9 +832,10 @@ namespace OpenSim | |||
830 | { | 832 | { |
831 | MainConsole.Instance.Output("Usage: change region <region name>"); | 833 | MainConsole.Instance.Output("Usage: change region <region name>"); |
832 | } | 834 | } |
835 | |||
833 | string regionName = (m_sceneManager.CurrentScene == null ? "root" : m_sceneManager.CurrentScene.RegionInfo.RegionName); | 836 | string regionName = (m_sceneManager.CurrentScene == null ? "root" : m_sceneManager.CurrentScene.RegionInfo.RegionName); |
834 | MainConsole.Instance.Output(String.Format("Currently selected region is {0}", regionName)); | 837 | MainConsole.Instance.Output(String.Format("Currently selected region is {0}", regionName)); |
835 | m_console.DefaultPrompt = String.Format("{0} ({1}) ", m_custom_prompt, regionName); | 838 | m_console.DefaultPrompt = String.Format("{0} ({1}) ", m_custom_prompt, regionName); |
836 | m_console.ConsoleScene = m_sceneManager.CurrentScene; | 839 | m_console.ConsoleScene = m_sceneManager.CurrentScene; |
837 | } | 840 | } |
838 | 841 | ||