diff options
author | lbsa71 | 2007-09-25 01:20:30 +0000 |
---|---|---|
committer | lbsa71 | 2007-09-25 01:20:30 +0000 |
commit | 2219ccc5b053d5c8885de113488dfb6718903435 (patch) | |
tree | 06bde077b98c0e8df228bec23aef8aa9b2eba39d /OpenSim/Framework/General/Types | |
parent | More reorganizing of new SE. Added debug print of application exception. (diff) | |
download | opensim-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/Framework/General/Types')
-rw-r--r-- | OpenSim/Framework/General/Types/EstateSettings.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Framework/General/Types/EstateSettings.cs b/OpenSim/Framework/General/Types/EstateSettings.cs index a8f6bf1..abdcf6f 100644 --- a/OpenSim/Framework/General/Types/EstateSettings.cs +++ b/OpenSim/Framework/General/Types/EstateSettings.cs | |||
@@ -29,6 +29,7 @@ using System.IO; | |||
29 | using libsecondlife; | 29 | using libsecondlife; |
30 | using OpenSim.Framework.Configuration; | 30 | using OpenSim.Framework.Configuration; |
31 | using OpenSim.Framework.Utilities; | 31 | using OpenSim.Framework.Utilities; |
32 | using System.Globalization; | ||
32 | 33 | ||
33 | namespace OpenSim.Framework.Types | 34 | namespace OpenSim.Framework.Types |
34 | { | 35 | { |
@@ -719,7 +720,8 @@ namespace OpenSim.Framework.Types | |||
719 | this.m_terrainMultiplier = System.Convert.ToDouble(configuration_result); | 720 | this.m_terrainMultiplier = System.Convert.ToDouble(configuration_result); |
720 | break; | 721 | break; |
721 | case "water_height": | 722 | case "water_height": |
722 | float.TryParse(((double)configuration_result).ToString(),out this.m_waterHeight); | 723 | double tmpVal = (double) configuration_result; |
724 | this.m_waterHeight = (float) tmpVal; | ||
723 | break; | 725 | break; |
724 | case "terrain_image_id": | 726 | case "terrain_image_id": |
725 | this.m_terrainImageID = (LLUUID)configuration_result; | 727 | this.m_terrainImageID = (LLUUID)configuration_result; |