Added _hudText->setDataVariance(osg::Object::DYNAMIC); to prevent from the
text being updated at the same time as being rendered.
This commit is contained in:
@@ -288,7 +288,7 @@ bool DePee::createHUD()
|
||||
|
||||
{
|
||||
geode->addDrawable( _hudText );
|
||||
|
||||
_hudText->setDataVariance(osg::Object::DYNAMIC);
|
||||
_hudText->setFont(timesFont);
|
||||
_hudText->setPosition(position);
|
||||
_hudText->setText("Head Up Display");
|
||||
|
||||
Reference in New Issue
Block a user