aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs10
1 files changed, 9 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs b/OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs
index 44ec825..c1fe5c7 100644
--- a/OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs
+++ b/OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs
@@ -56,6 +56,14 @@ namespace OpenSim.Region.CoreModules.Hypergrid
56 return; 56 return;
57 m_log.Info("[HGMap] Initializing..."); 57 m_log.Info("[HGMap] Initializing...");
58 m_scene = scene; 58 m_scene = scene;
59
60 m_scene.RegisterModuleInterface<IWorldMapModule>(this);
61
62 m_scene.AddCommand(
63 this, "export-map",
64 "export-map [<path>]",
65 "Save an image of the world map", HandleExportWorldMapConsoleCommand);
66
59 } 67 }
60 68
61 69
@@ -110,7 +118,7 @@ namespace OpenSim.Region.CoreModules.Hypergrid
110 } 118 }
111 } 119 }
112 } 120 }
113 response = mapBlocks; 121
114 if (response.Count == 0) 122 if (response.Count == 0)
115 { 123 {
116 // response still empty => couldn't find the map-tile the user clicked on => tell the client 124 // response still empty => couldn't find the map-tile the user clicked on => tell the client