diff options
author | diva | 2009-04-27 00:16:59 +0000 |
---|---|---|
committer | diva | 2009-04-27 00:16:59 +0000 |
commit | d8313e314feddc492ec9d8e657aa7d0a15a7004b (patch) | |
tree | 4024a8bebbc83745b1df22981b001559346bc247 /OpenSim/Region/Application/OpenSim.cs | |
parent | HGWorldMap got a bit out of sync during the introduction of the new module sy... (diff) | |
download | opensim-SC-d8313e314feddc492ec9d8e657aa7d0a15a7004b.zip opensim-SC-d8313e314feddc492ec9d8e657aa7d0a15a7004b.tar.gz opensim-SC-d8313e314feddc492ec9d8e657aa7d0a15a7004b.tar.bz2 opensim-SC-d8313e314feddc492ec9d8e657aa7d0a15a7004b.tar.xz |
Getting rid of -hypergrid=true on the command line. This config now goes inside OpenSim.ini in the Startup section. This makes the HG compatible with -background, and prepares the way for further work on HG-related config vars. Might help with mantis #3527.
Diffstat (limited to 'OpenSim/Region/Application/OpenSim.cs')
-rw-r--r-- | OpenSim/Region/Application/OpenSim.cs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index a0b9568..d3941d6 100644 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs | |||
@@ -291,6 +291,16 @@ namespace OpenSim | |||
291 | "reset user password [<first> [<last> [<password>]]]", | 291 | "reset user password [<first> [<last> [<password>]]]", |
292 | "Reset a user password", HandleResetUserPassword); | 292 | "Reset a user password", HandleResetUserPassword); |
293 | } | 293 | } |
294 | |||
295 | m_console.Commands.AddCommand("hypergrid", false, "link-mapping", "link-mapping [<x> <y>] <cr>", | ||
296 | "Set local coordinate to map HG regions to", RunCommand); | ||
297 | m_console.Commands.AddCommand("hypergrid", false, "link-region", | ||
298 | "link-region <Xloc> <Yloc> <HostName>:<HttpPort>[:<RemoteRegionName>] <cr>", | ||
299 | "Link a hypergrid region", RunCommand); | ||
300 | m_console.Commands.AddCommand("hypergrid", false, "unlink-region", | ||
301 | "unlink-region <local name> or <HostName>:<HttpPort> <cr>", | ||
302 | "Unlink a hypergrid region", RunCommand); | ||
303 | |||
294 | } | 304 | } |
295 | 305 | ||
296 | public override void ShutdownSpecific() | 306 | public override void ShutdownSpecific() |
@@ -625,6 +635,12 @@ namespace OpenSim | |||
625 | m_sceneManager.CacheJ2kDecode(1); | 635 | m_sceneManager.CacheJ2kDecode(1); |
626 | } | 636 | } |
627 | break; | 637 | break; |
638 | |||
639 | case "link-region": | ||
640 | case "unlink-region": | ||
641 | case "link-mapping": | ||
642 | HGCommands.RunHGCommand(command, cmdparams, m_sceneManager.CurrentOrFirstScene); | ||
643 | break; | ||
628 | } | 644 | } |
629 | } | 645 | } |
630 | 646 | ||