diff options
author | Justin Clarke Casey | 2009-02-13 16:43:20 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-02-13 16:43:20 +0000 |
commit | 88b273bc719b5d462069bdfce5782c5dcaf97596 (patch) | |
tree | 6272d4413e1645b52ef8250245186fe88cbb2394 /OpenSim/Region/Application/OpenSim.cs | |
parent | fixing crash due to make-child and make-root stepping on each other's toes (diff) | |
download | opensim-SC_OLD-88b273bc719b5d462069bdfce5782c5dcaf97596.zip opensim-SC_OLD-88b273bc719b5d462069bdfce5782c5dcaf97596.tar.gz opensim-SC_OLD-88b273bc719b5d462069bdfce5782c5dcaf97596.tar.bz2 opensim-SC_OLD-88b273bc719b5d462069bdfce5782c5dcaf97596.tar.xz |
* refactor: Move export map function to world map module from scene
Diffstat (limited to 'OpenSim/Region/Application/OpenSim.cs')
-rw-r--r-- | OpenSim/Region/Application/OpenSim.cs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index fdc55c7..17ced08 100644 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs | |||
@@ -225,10 +225,6 @@ namespace OpenSim | |||
225 | "command-script <script>", | 225 | "command-script <script>", |
226 | "Run a command script from file", RunCommand); | 226 | "Run a command script from file", RunCommand); |
227 | 227 | ||
228 | m_console.Commands.AddCommand("region", false, "export-map", | ||
229 | "export-map <file>", | ||
230 | "Save an image of the world map", RunCommand); | ||
231 | |||
232 | m_console.Commands.AddCommand("region", false, "remove-region", | 228 | m_console.Commands.AddCommand("region", false, "remove-region", |
233 | "remove-region <name>", | 229 | "remove-region <name>", |
234 | "Remove a region from this simulator", RunCommand); | 230 | "Remove a region from this simulator", RunCommand); |
@@ -609,17 +605,6 @@ namespace OpenSim | |||
609 | m_sceneManager.RestartCurrentScene(); | 605 | m_sceneManager.RestartCurrentScene(); |
610 | break; | 606 | break; |
611 | 607 | ||
612 | case "export-map": | ||
613 | if (cmdparams.Length > 0) | ||
614 | { | ||
615 | m_sceneManager.CurrentOrFirstScene.ExportWorldMap(cmdparams[0]); | ||
616 | } | ||
617 | else | ||
618 | { | ||
619 | m_sceneManager.CurrentOrFirstScene.ExportWorldMap("exportmap.jpg"); | ||
620 | } | ||
621 | break; | ||
622 | |||
623 | case "Add-InventoryHost": | 608 | case "Add-InventoryHost": |
624 | if (cmdparams.Length > 0) | 609 | if (cmdparams.Length > 0) |
625 | { | 610 | { |