setting default export precision to 17 for all exporters

This commit is contained in:
Chris Russ
2016-07-06 14:49:14 +10:00
parent 19769eef8b
commit 10f22779f4
6 changed files with 14 additions and 7 deletions

View File

@@ -94,7 +94,9 @@ ObjExporter :: ObjExporter(const char* _filename, const aiScene* pScene)
// make sure that all formatting happens using the standard, C locale and not the user's current locale
const std::locale& l = std::locale("C");
mOutput.imbue(l);
mOutput.precision(17);
mOutputMat.imbue(l);
mOutputMat.precision(17);
WriteGeometryFile();
WriteMaterialFile();