diff --git a/examples/osgtexture2D/osgtexture2D.cpp b/examples/osgtexture2D/osgtexture2D.cpp index 57f7dc799..b0329f01d 100644 --- a/examples/osgtexture2D/osgtexture2D.cpp +++ b/examples/osgtexture2D/osgtexture2D.cpp @@ -657,6 +657,7 @@ osg::Node* createSubloadWall(osg::BoundingBox& bb) // create the text label. osgText::Text* text = new osgText::Text; + text->setDataVariance(osg::Object::DYNAMIC); text->setFont("fonts/arial.ttf"); text->setPosition(center); text->setCharacterSize(height*0.03f);