stevefsp / critterai

Archive of CAINav Project (Inactive)
MIT License
127 stars 75 forks source link

cai-util-u3d: Wavefront Class Not Internationalized #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The Wavefront class needs to be updated so the 'en-US' culture is baked-in.  
Otherwise it will not parse floating point numbers correctly on hosts 
configured with a culture that uses ',' rather than '.'.

Temporary workaround:

Temporarily change the thread's culture to 'en-US' before importing or 
exporting via the Wavefront class.

E.g.: Thread.CurrentThread.CurrentCulture = new 
System.Globalization.CultureInfo("en-US");

Original issue reported on code.google.com by steve...@gmail.com on 7 Jul 2011 at 10:47

GoogleCodeExporter commented 9 years ago
Updated all numeric conversions to use InvariantCulture.

Original comment by steve...@gmail.com on 23 Jul 2011 at 6:25

GoogleCodeExporter commented 9 years ago
Fix distributed at part of CAINav v0.3.0.

Original comment by steve...@gmail.com on 24 Sep 2011 at 7:05