From 1968f3d6e14fe4cdfa98df465c1f383d2bb7d8de Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 18 Dec 2019 14:25:07 +0000 Subject: [PATCH] Added classic locale setting to avoid local setting of locale affecting the GLSL code generated. --- src/osgText/Text.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/osgText/Text.cpp b/src/osgText/Text.cpp index 2e26949bc..a5991ab4d 100644 --- a/src/osgText/Text.cpp +++ b/src/osgText/Text.cpp @@ -102,6 +102,7 @@ osg::StateSet* Text::createStateSet() Font::StateSets& statesets = activeFont->getCachedStateSets(); std::stringstream ss; + ss.imbue(std::locale::classic()); ss<