From fa7843d52013ba85b9f520a4cef872932291c409 Mon Sep 17 00:00:00 2001 From: Antoine Lavenant Date: Wed, 10 Oct 2018 08:31:30 +0200 Subject: [PATCH] fix apply once --- src/osgPlugins/stl/ReaderWriterSTL.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/osgPlugins/stl/ReaderWriterSTL.cpp b/src/osgPlugins/stl/ReaderWriterSTL.cpp index d27048ce2..608f82cd0 100644 --- a/src/osgPlugins/stl/ReaderWriterSTL.cpp +++ b/src/osgPlugins/stl/ReaderWriterSTL.cpp @@ -293,6 +293,7 @@ private: else *m_f << "solid " << node.getName() << std::endl; + *m_f << std::fixed << std::setprecision(7); for (unsigned int i = 0; i < node.getNumDrawables(); ++i) { osg::TriangleFunctor tf;