From 75d23b2c10936e20e2f4b9234db0b329e4b4e22e Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 27 Sep 2017 11:09:22 +0100 Subject: [PATCH] Fixed update of GlyphTexture Image when copying new Glyph image's to it. --- src/osgText/Glyph.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/osgText/Glyph.cpp b/src/osgText/Glyph.cpp index e9236e41e..25d9764cd 100644 --- a/src/osgText/Glyph.cpp +++ b/src/osgText/Glyph.cpp @@ -137,16 +137,16 @@ void GlyphTexture::addGlyph(Glyph* glyph, int posX, int posY) void GlyphTexture::copyGlyphImage(Glyph* glyph) { + _image->dirty(); if (_glyphTextureFeatures==GREYSCALE) { - // OSG_NOTICE<<"GlyphTexture::copyGlyphImage() greyscale copy"<