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