|
@@ -104,7 +104,7 @@ XFileExporter::XFileExporter(const aiScene* pScene, IOSystem* pIOSystem, const s
|
|
{
|
|
{
|
|
// make sure that all formatting happens using the standard, C locale and not the user's current locale
|
|
// make sure that all formatting happens using the standard, C locale and not the user's current locale
|
|
mOutput.imbue( std::locale("C") );
|
|
mOutput.imbue( std::locale("C") );
|
|
- mOutput.precision(17);
|
|
|
|
|
|
+ mOutput.precision(16);
|
|
|
|
|
|
// start writing
|
|
// start writing
|
|
WriteFile();
|
|
WriteFile();
|
|
@@ -125,7 +125,7 @@ void XFileExporter::WriteFile()
|
|
{
|
|
{
|
|
// note, that all realnumber values must be comma separated in x files
|
|
// note, that all realnumber values must be comma separated in x files
|
|
mOutput.setf(std::ios::fixed);
|
|
mOutput.setf(std::ios::fixed);
|
|
- mOutput.precision(17); // precission for double
|
|
|
|
|
|
+ mOutput.precision(16); // precission for double
|
|
|
|
|
|
// entry of writing the file
|
|
// entry of writing the file
|
|
WriteHeader();
|
|
WriteHeader();
|