mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 10:46:00 +08:00
* Split the World Map code into a module.
* Implemented a hack so regions beyond the 10,000m range will show the map without having to click on the map before they'll start to show. The hack shows regions around the one you're in, but it won't show the one you're in.. you still need to click on the map to get that (not sure why yet). Additionally, the map still only shows pictures for regions that are hosted on the same instance (no change).
This commit is contained in:
@@ -135,10 +135,10 @@ namespace OpenSim.Framework.Communications.Capabilities
|
||||
{
|
||||
// the root of all evil
|
||||
m_capsHandlers["SEED"] = new RestStreamHandler("POST", capsBase + m_requestPath, CapsRequest);
|
||||
m_capsHandlers["MapLayer"] =
|
||||
new LLSDStreamhandler<LLSDMapRequest, LLSDMapLayerResponse>("POST",
|
||||
capsBase + m_mapLayerPath,
|
||||
GetMapLayer);
|
||||
//m_capsHandlers["MapLayer"] =
|
||||
// new LLSDStreamhandler<LLSDMapRequest, LLSDMapLayerResponse>("POST",
|
||||
// capsBase + m_mapLayerPath,
|
||||
// GetMapLayer);
|
||||
m_capsHandlers["NewFileAgentInventory"] =
|
||||
new LLSDStreamhandler<LLSDAssetUploadRequest, LLSDAssetUploadResponse>("POST",
|
||||
capsBase + m_newInventory,
|
||||
@@ -420,6 +420,7 @@ namespace OpenSim.Framework.Communications.Capabilities
|
||||
mapLayer.Right = 5000;
|
||||
mapLayer.Top = 5000;
|
||||
mapLayer.ImageID = new LLUUID("00000000-0000-1111-9999-000000000006");
|
||||
|
||||
return mapLayer;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user