Added setDataVariance(DYNAMIC) to text label as it's being updated dynamically
This commit is contained in:
parent
c5733fef14
commit
abb63e3199
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user