From 5918735ebca45b71554c7446d31fa08d7b073ff1 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 26 Oct 2017 12:03:56 +0100 Subject: [PATCH] Added update of glyph representation to ensure all the glyphs are assigned to the required GlyphTextures --- src/osgText/Text.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/osgText/Text.cpp b/src/osgText/Text.cpp index 94ac0e923..46c857639 100644 --- a/src/osgText/Text.cpp +++ b/src/osgText/Text.cpp @@ -90,6 +90,8 @@ void Text::setShaderTechnique(ShaderTechnique technique) _shaderTechnique = technique; assignStateSet(); + + computeGlyphRepresentation(); } osg::StateSet* Text::createStateSet()