From 79de35aea2d9c694ece9a0d6af7142bdf4aab491 Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Sat, 2 Jun 2007 03:00:37 +0000 Subject: * Fixing world map generation issues (thankyou LL for using different coordinates than the rest of the graphics community! =p) --- OpenSim/OpenSim.RegionServer/world/World.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/OpenSim.RegionServer') diff --git a/OpenSim/OpenSim.RegionServer/world/World.cs b/OpenSim/OpenSim.RegionServer/world/World.cs index 22beb0e..ad1ce30 100644 --- a/OpenSim/OpenSim.RegionServer/world/World.cs +++ b/OpenSim/OpenSim.RegionServer/world/World.cs @@ -230,7 +230,7 @@ namespace OpenSim.world OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "World.cs: Backup() - Terrain tainted, saving."); localStorage.SaveMap(Terrain.getHeights1D()); OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "World.cs: Backup() - Rebuilding world map image."); - Terrain.exportImage("map_" + m_regInfo.RegionName + ".png", "defaultstripe.png"); + Terrain.exportImage("map_" + m_regInfo.RegionName.ToLower() + ".png", "defaultstripe.png"); OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "World.cs: Backup() - Terrain saved, informing Physics."); phyScene.SetTerrain(Terrain.getHeights1D()); @@ -435,7 +435,7 @@ namespace OpenSim.world } catch (Exception e) { - Console.WriteLine("Unable to load default terrain (" + e.ToString() + "), procedurally generating instead..."); + Console.WriteLine("Unable to load default terrain, procedurally generating instead..."); Terrain.hills(); } this.localStorage.SaveMap(this.Terrain.getHeights1D()); -- cgit v1.1