Skip to content

Commit

Permalink
Added setDataVariance(DYNAMIC) to text label as it's being updated dy…
Browse files Browse the repository at this point in the history
…namically
  • Loading branch information
robertosfield committed Feb 3, 2009
1 parent c5733fe commit abb63e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/osgtexture2D/osgtexture2D.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit abb63e3

Please sign in to comment.