From 17ddb8b49323777b4678270ebbf4859dd8842abd Mon Sep 17 00:00:00 2001 From: MW Date: Wed, 11 Jul 2007 18:32:32 +0000 Subject: Hopefully texturing prims should now work correctly. --- OpenSim/Region/Capabilities/Caps.cs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'OpenSim/Region/Capabilities') diff --git a/OpenSim/Region/Capabilities/Caps.cs b/OpenSim/Region/Capabilities/Caps.cs index db8df9b..6373f6e 100644 --- a/OpenSim/Region/Capabilities/Caps.cs +++ b/OpenSim/Region/Capabilities/Caps.cs @@ -75,10 +75,10 @@ namespace OpenSim.Region.Capabilities string capsBase = "/CAPS/" + m_capsObjectPath; - //AddLegacyCapsHandler( httpListener, m_mapLayerPath, MapLayer); + AddLegacyCapsHandler( httpListener, m_mapLayerPath, MapLayer); - httpListener.AddStreamHandler( - new LLSDStreamhandler("POST", capsBase + m_mapLayerPath, this.GetMapLayer )); + // httpListener.AddStreamHandler( + // new LLSDStreamhandler("POST", capsBase + m_mapLayerPath, this.GetMapLayer )); AddLegacyCapsHandler(httpListener, m_requestPath, CapsRequest); AddLegacyCapsHandler(httpListener, m_newInventory, NewAgentInventory); @@ -133,6 +133,7 @@ namespace OpenSim.Region.Capabilities /// public string MapLayer(string request, string path, string param) { + Console.WriteLine("map request: " + request); Encoding _enc = Encoding.UTF8; Hashtable hash = (Hashtable)LLSD.LLSDDeserialize(_enc.GetBytes(request)); LLSDMapRequest mapReq = new LLSDMapRequest(); @@ -147,6 +148,7 @@ namespace OpenSim.Region.Capabilities public LLSDMapLayerResponse GetMapLayer(LLSDMapRequest mapReq) { + Console.WriteLine("Map request " + mapReq.Flags); LLSDMapLayerResponse mapResponse = new LLSDMapLayerResponse(); mapResponse.LayerData.Array.Add(this.BuildLLSDMapLayerResponse()); return mapResponse; -- cgit v1.1