mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 03:45:35 +08:00
* refactor: Move export map function to world map module from scene
This commit is contained in:
@@ -225,10 +225,6 @@ namespace OpenSim
|
||||
"command-script <script>",
|
||||
"Run a command script from file", RunCommand);
|
||||
|
||||
m_console.Commands.AddCommand("region", false, "export-map",
|
||||
"export-map <file>",
|
||||
"Save an image of the world map", RunCommand);
|
||||
|
||||
m_console.Commands.AddCommand("region", false, "remove-region",
|
||||
"remove-region <name>",
|
||||
"Remove a region from this simulator", RunCommand);
|
||||
@@ -609,17 +605,6 @@ namespace OpenSim
|
||||
m_sceneManager.RestartCurrentScene();
|
||||
break;
|
||||
|
||||
case "export-map":
|
||||
if (cmdparams.Length > 0)
|
||||
{
|
||||
m_sceneManager.CurrentOrFirstScene.ExportWorldMap(cmdparams[0]);
|
||||
}
|
||||
else
|
||||
{
|
||||
m_sceneManager.CurrentOrFirstScene.ExportWorldMap("exportmap.jpg");
|
||||
}
|
||||
break;
|
||||
|
||||
case "Add-InventoryHost":
|
||||
if (cmdparams.Length > 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user