Hi Luc,

you could try to patch the plugin to set the locale to "C" before
reading and restore afterwards.

But you might be careful to threading issues, because setlocale() is
working on a per process basis.

regards Ralph

Frauciel Luc schrieb:
> Hi,
> 
> This summer, a problem have been spotted and solved about .osg format, and 
> the use of Qt that modify C locale
> http://groups.google.com/group/osg-users/browse_thread/thread/f5a53aaeed71b585/2b0454460d959e2d?lnk=gst&q=qt+locale#2b0454460d959e2d
> 
> I've got a similar problem with DAE plugin.
> However, since the atof call is done in collada dom and not the plugin, there 
> is no way to use the same solution (custom osg_atof).
> Do someone have an hint on how this problem can be solved ?
> 
>     Luc
> 

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to