aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/ApplicationPlugins/Rest/Regions
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/ApplicationPlugins/Rest/Regions')
-rw-r--r--OpenSim/ApplicationPlugins/Rest/Regions/GETHandler.cs8
1 files changed, 6 insertions, 2 deletions
diff --git a/OpenSim/ApplicationPlugins/Rest/Regions/GETHandler.cs b/OpenSim/ApplicationPlugins/Rest/Regions/GETHandler.cs
index ced3e5c..d0a9e77 100644
--- a/OpenSim/ApplicationPlugins/Rest/Regions/GETHandler.cs
+++ b/OpenSim/ApplicationPlugins/Rest/Regions/GETHandler.cs
@@ -181,8 +181,12 @@ namespace OpenSim.ApplicationPlugins.Rest.Regions
181 181
182 protected string RegionTerrain(OSHttpResponse httpResponse, Scene scene) 182 protected string RegionTerrain(OSHttpResponse httpResponse, Scene scene)
183 { 183 {
184 return Failure(httpResponse, OSHttpStatusCode.ServerErrorNotImplemented, 184 httpResponse.SendChunked = true;
185 "GET", "terrain not implemented"); 185 httpResponse.ContentType = "text/xml";
186
187 return scene.Heightmap.SaveToXmlString();
188 //return Failure(httpResponse, OSHttpStatusCode.ServerErrorNotImplemented,
189 // "GET", "terrain not implemented");
186 } 190 }
187 191
188 protected string RegionStats(OSHttpResponse httpResponse, Scene scene) 192 protected string RegionStats(OSHttpResponse httpResponse, Scene scene)