Added update of glyph representation to ensure all the glyphs are assigned to the required GlyphTextures

This commit is contained in:
Robert Osfield
2017-10-26 12:03:56 +01:00
parent 671ea7ae74
commit 5918735ebc

View File

@@ -90,6 +90,8 @@ void Text::setShaderTechnique(ShaderTechnique technique)
_shaderTechnique = technique;
assignStateSet();
computeGlyphRepresentation();
}
osg::StateSet* Text::createStateSet()