aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
diff options
context:
space:
mode:
authorlbsa712007-09-25 01:20:30 +0000
committerlbsa712007-09-25 01:20:30 +0000
commit2219ccc5b053d5c8885de113488dfb6718903435 (patch)
tree06bde077b98c0e8df228bec23aef8aa9b2eba39d /OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
parentMore reorganizing of new SE. Added debug print of application exception. (diff)
downloadopensim-SC_OLD-2219ccc5b053d5c8885de113488dfb6718903435.zip
opensim-SC_OLD-2219ccc5b053d5c8885de113488dfb6718903435.tar.gz
opensim-SC_OLD-2219ccc5b053d5c8885de113488dfb6718903435.tar.bz2
opensim-SC_OLD-2219ccc5b053d5c8885de113488dfb6718903435.tar.xz
* Fixed Culture-variant parsing of config options
Diffstat (limited to 'OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs')
-rw-r--r--OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs b/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
index 6454bdc..c3c4935 100644
--- a/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
+++ b/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
@@ -33,6 +33,8 @@ using System.IO;
33using libTerrain; 33using libTerrain;
34using OpenJPEGNet; 34using OpenJPEGNet;
35using OpenSim.Framework.Interfaces; 35using OpenSim.Framework.Interfaces;
36using System.Globalization;
37using OpenSim.Framework;
36 38
37namespace OpenSim.Region.Terrain 39namespace OpenSim.Region.Terrain
38{ 40{
@@ -603,8 +605,8 @@ namespace OpenSim.Region.Terrain
603 if (args.GetLength(0) > 2) 605 if (args.GetLength(0) > 2)
604 { 606 {
605 int.TryParse(args[2].ToString(), out count); 607 int.TryParse(args[2].ToString(), out count);
606 double.TryParse(args[3].ToString(), out sizeMin); 608 double.TryParse(args[3].ToString(), NumberStyles.AllowDecimalPoint, Culture.NumberFormatInfo, out sizeMin);
607 double.TryParse(args[4].ToString(), out sizeRange); 609 double.TryParse(args[4].ToString(), NumberStyles.AllowDecimalPoint, Culture.NumberFormatInfo, out sizeRange);
608 bool.TryParse(args[5].ToString(), out island); 610 bool.TryParse(args[5].ToString(), out island);
609 bool.TryParse(args[6].ToString(), out additive); 611 bool.TryParse(args[6].ToString(), out additive);
610 bool.TryParse(args[7].ToString(), out noisy); 612 bool.TryParse(args[7].ToString(), out noisy);