Hi,

I'm facing the same locale problem with OBJ files when using OSG in a Qt 
application.

The problem is described here : 
http://forum.openscenegraph.org/viewtopic.php?t=8694

So I looked into this submission for DOT plugin and tried to do the same 
modifications on the OBJ plugin : adding calls to "imbue(std::locale("C"));"

This works well for me, but before send any submission, I'm wondering myself if 
it's not a more "general" problem to all text parsing based plugin.

Maybe instead of changing the plugin reader streams / writer streams locale to 
"C" locale, the "C" locale should be explicity set by default in the Registry 
class to affect all plugins ?

I'm not sure about the correct way to do it...

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=45761#45761





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

Reply via email to