aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authordiva2009-02-14 21:26:20 +0000
committerdiva2009-02-14 21:26:20 +0000
commita2d17dfff17f7facfdbe436ca6ad8f630f838751 (patch)
tree7438dd51c99250adf4fa490fe0cfabdb849d40d8
parentThank you, DoranZemlja, for a patch that implements local inter-object email (diff)
downloadopensim-SC-a2d17dfff17f7facfdbe436ca6ad8f630f838751.zip
opensim-SC-a2d17dfff17f7facfdbe436ca6ad8f630f838751.tar.gz
opensim-SC-a2d17dfff17f7facfdbe436ca6ad8f630f838751.tar.bz2
opensim-SC-a2d17dfff17f7facfdbe436ca6ad8f630f838751.tar.xz
Restores the HGWorldMap functionality that has been reduced since a recent refactoring of the WorldMapModule.
-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