HI Aurelien,
Your ReaderWriterOBJ.cpp file is identical to the one in svn/trunk,
and neither contain the required fin.imbue(std::locale::classic());
call. I've had a look at other plugins that use
imbue(std::locale::classic()); and replicated this in the
ReaderWriterOBJ.cpp, I presume the following is what you intend :
svn diff
Index: obj/ReaderWriterOBJ.cpp
===================================================================
--- obj/ReaderWriterOBJ.cpp (revision 12975)
+++ obj/ReaderWriterOBJ.cpp (working copy)
@@ -887,6 +887,8 @@
{
if (fin)
{
+ fin.imbue(std::locale::classic());
+
obj::Model model;
model.readOBJ(fin, options);
This is now checked into svn/trunk, let me know if this is an issue.
Robert.
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org