diff --git a/src/osgText/Text.cpp b/src/osgText/Text.cpp index 86b800e7781..511b9f5a138 100644 --- a/src/osgText/Text.cpp +++ b/src/osgText/Text.cpp @@ -464,6 +464,7 @@ void Text::computeGlyphRepresentation() { _textBB.set(0,0,0,0,0,0);//no size text computePositions(); //to reset the origin + _decorationPrimitives.clear();// clear out decorations if they had been previously set return; }