mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 04:05:42 +08:00
replace the wrong libOMV user modifiable Utils.EnUSCulture by our own no User modifiable Culture.FormatProvider, and also for internal coerence. We do use the libomv on other code paths, so that must be fixed
This commit is contained in:
@@ -566,7 +566,7 @@ namespace OpenSim.Framework.Capabilities
|
||||
endPos = FindEnd(llsd, 1);
|
||||
|
||||
if (Double.TryParse(llsd.Substring(1, endPos - 1), NumberStyles.Float,
|
||||
Utils.EnUsCulture.NumberFormat, out value))
|
||||
Culture.FormatProvider.NumberFormat, out value))
|
||||
return value;
|
||||
else
|
||||
throw new LLSDParseException("Failed to parse double value type");
|
||||
|
||||
Reference in New Issue
Block a user