Added fin.imbue(std::locale::classic()); to avoid problems with parsing of .obj files
This commit is contained in:
parent
e8ac276451
commit
1a080dfa6a
@ -887,6 +887,8 @@ osgDB::ReaderWriter::ReadResult ReaderWriterOBJ::readNode(std::istream& fin, con
|
|||||||
{
|
{
|
||||||
if (fin)
|
if (fin)
|
||||||
{
|
{
|
||||||
|
fin.imbue(std::locale::classic());
|
||||||
|
|
||||||
obj::Model model;
|
obj::Model model;
|
||||||
model.readOBJ(fin, options);
|
model.readOBJ(fin, options);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user