diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Modules/World/Terrain/TerrainModule.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Terrain/TerrainModule.cs b/OpenSim/Region/Environment/Modules/World/Terrain/TerrainModule.cs index f0af552..76d06cb 100644 --- a/OpenSim/Region/Environment/Modules/World/Terrain/TerrainModule.cs +++ b/OpenSim/Region/Environment/Modules/World/Terrain/TerrainModule.cs | |||
@@ -208,7 +208,7 @@ namespace OpenSim.Region.Environment.Modules.World.Terrain | |||
208 | return; | 208 | return; |
209 | } | 209 | } |
210 | } | 210 | } |
211 | m_log.Error("[TERRAIN]: Unable to load heightmap, no file loader availible for that format."); | 211 | m_log.Error("[TERRAIN]: Unable to load heightmap, no file loader available for that format."); |
212 | throw new TerrainException(String.Format("unable to load heightmap from file {0}: no loader available for that format", filename)); | 212 | throw new TerrainException(String.Format("unable to load heightmap from file {0}: no loader available for that format", filename)); |
213 | } | 213 | } |
214 | 214 | ||
@@ -245,7 +245,7 @@ namespace OpenSim.Region.Environment.Modules.World.Terrain | |||
245 | { | 245 | { |
246 | foreach (KeyValuePair<string, ITerrainLoader> loader in m_loaders) | 246 | foreach (KeyValuePair<string, ITerrainLoader> loader in m_loaders) |
247 | { | 247 | { |
248 | if (filename.EndsWith(loader.Key)) | 248 | if (@filename.EndsWith(loader.Key)) |
249 | { | 249 | { |
250 | lock (m_scene) | 250 | lock (m_scene) |
251 | { | 251 | { |
@@ -268,7 +268,7 @@ namespace OpenSim.Region.Environment.Modules.World.Terrain | |||
268 | return; | 268 | return; |
269 | } | 269 | } |
270 | } | 270 | } |
271 | m_log.Error("[TERRAIN]: Unable to load heightmap, no file loader availible for that format."); | 271 | m_log.Error("[TERRAIN]: Unable to load heightmap, no file loader available for that format."); |
272 | throw new TerrainException(String.Format("unable to load heightmap from file {0}: no loader available for that format", filename)); | 272 | throw new TerrainException(String.Format("unable to load heightmap from file {0}: no loader available for that format", filename)); |
273 | } | 273 | } |
274 | 274 | ||