Added classic locale setting to avoid local setting of locale affecting the GLSL code generated.
This commit is contained in:
parent
1747d1a17b
commit
1968f3d6e1
@ -102,6 +102,7 @@ osg::StateSet* Text::createStateSet()
|
||||
Font::StateSets& statesets = activeFont->getCachedStateSets();
|
||||
|
||||
std::stringstream ss;
|
||||
ss.imbue(std::locale::classic());
|
||||
ss<<std::fixed<<std::setprecision(3);
|
||||
|
||||
osg::StateSet::DefineList defineList;
|
||||
|
Loading…
Reference in New Issue
Block a user