Set the DataVariance of updating text to DYNAMIC

This commit is contained in:
Robert Osfield 2007-02-14 12:42:10 +00:00
parent c71341d0b9
commit 953899d0e2

View File

@ -193,6 +193,7 @@ osg::Node* createHUD(osgText::Text* updateText)
updateText->setColor(osg::Vec4(1.0f,1.0f,0.0f,1.0f));
updateText->setText("");
updateText->setPosition(position);
updateText->setDataVariance(osg::Object::DYNAMIC);
position += delta;
}