Hi Aurelien, I believe this type of issue should be the responsibility of the plugin to deal with - the basic principle of the ChainOfResponsibility DesignPattern is to push implementation details and behaviour onto the plugin so that can decide themselves what is best for them.
Robert. On 25 February 2012 12:54, Aurelien Albert <[email protected]> wrote: > 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 _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
