diff --git a/examples/osglauncher/osglauncher.cpp b/examples/osglauncher/osglauncher.cpp index 2241a43fc..b45d7df6d 100644 --- a/examples/osglauncher/osglauncher.cpp +++ b/examples/osglauncher/osglauncher.cpp @@ -418,6 +418,7 @@ int main( int argc, char **argv ) osgViewer::Viewer viewer; osg::ref_ptr updateText = new osgText::Text; + updateText->setDataVariance(osg::Object::DYNAMIC); // add the handler for doing the picking viewer.addEventHandler(new PickHandler(&viewer,updateText.get()));