diff options
author | UbitUmarov | 2012-03-26 23:04:07 +0100 |
---|---|---|
committer | UbitUmarov | 2012-03-26 23:04:07 +0100 |
commit | caeaa03a6917c6324750eddcc4559ec5de39f14c (patch) | |
tree | ecf64b0ddb099890ccf581cd52f646373dd44606 /OpenSim/Framework | |
parent | UbitOde let caller try to build meshs like done in chode. Changing this was ... (diff) | |
parent | Merge branch 'master' into careminster (diff) | |
download | opensim-SC_OLD-caeaa03a6917c6324750eddcc4559ec5de39f14c.zip opensim-SC_OLD-caeaa03a6917c6324750eddcc4559ec5de39f14c.tar.gz opensim-SC_OLD-caeaa03a6917c6324750eddcc4559ec5de39f14c.tar.bz2 opensim-SC_OLD-caeaa03a6917c6324750eddcc4559ec5de39f14c.tar.xz |
Merge branch 'master' of ssh://3dhosting.de/var/git/careminster into ubitwork
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/Console/CommandConsole.cs | 22 | ||||
-rw-r--r-- | OpenSim/Framework/RegionInfo.cs | 6 |
2 files changed, 18 insertions, 10 deletions
diff --git a/OpenSim/Framework/Console/CommandConsole.cs b/OpenSim/Framework/Console/CommandConsole.cs index 2bb7de1..c5d6b78 100644 --- a/OpenSim/Framework/Console/CommandConsole.cs +++ b/OpenSim/Framework/Console/CommandConsole.cs | |||
@@ -188,19 +188,21 @@ namespace OpenSim.Framework.Console | |||
188 | { | 188 | { |
189 | lock (m_modulesCommands) | 189 | lock (m_modulesCommands) |
190 | { | 190 | { |
191 | if (m_modulesCommands.ContainsKey(moduleName)) | 191 | foreach (string key in m_modulesCommands.Keys) |
192 | { | 192 | { |
193 | List<CommandInfo> commands = m_modulesCommands[moduleName]; | 193 | // Allow topic help requests to succeed whether they are upper or lowercase. |
194 | var ourHelpText = commands.ConvertAll(c => string.Format("{0} - {1}", c.help_text, c.long_help)); | 194 | if (moduleName.ToLower() == key.ToLower()) |
195 | ourHelpText.Sort(); | 195 | { |
196 | helpText.AddRange(ourHelpText); | 196 | List<CommandInfo> commands = m_modulesCommands[key]; |
197 | var ourHelpText = commands.ConvertAll(c => string.Format("{0} - {1}", c.help_text, c.long_help)); | ||
198 | ourHelpText.Sort(); | ||
199 | helpText.AddRange(ourHelpText); | ||
197 | 200 | ||
198 | return true; | 201 | return true; |
199 | } | 202 | } |
200 | else | ||
201 | { | ||
202 | return false; | ||
203 | } | 203 | } |
204 | |||
205 | return false; | ||
204 | } | 206 | } |
205 | } | 207 | } |
206 | 208 | ||
diff --git a/OpenSim/Framework/RegionInfo.cs b/OpenSim/Framework/RegionInfo.cs index 7a3e67f..1b2f681 100644 --- a/OpenSim/Framework/RegionInfo.cs +++ b/OpenSim/Framework/RegionInfo.cs | |||
@@ -423,12 +423,18 @@ namespace OpenSim.Framework | |||
423 | set { m_internalEndPoint = value; } | 423 | set { m_internalEndPoint = value; } |
424 | } | 424 | } |
425 | 425 | ||
426 | /// <summary> | ||
427 | /// The x co-ordinate of this region in map tiles (e.g. 1000). | ||
428 | /// </summary> | ||
426 | public uint RegionLocX | 429 | public uint RegionLocX |
427 | { | 430 | { |
428 | get { return m_regionLocX.Value; } | 431 | get { return m_regionLocX.Value; } |
429 | set { m_regionLocX = value; } | 432 | set { m_regionLocX = value; } |
430 | } | 433 | } |
431 | 434 | ||
435 | /// <summary> | ||
436 | /// The y co-ordinate of this region in map tiles (e.g. 1000). | ||
437 | /// </summary> | ||
432 | public uint RegionLocY | 438 | public uint RegionLocY |
433 | { | 439 | { |
434 | get { return m_regionLocY.Value; } | 440 | get { return m_regionLocY.Value; } |