Show
Ignore:
Timestamp:
02/13/07 10:27:44 (7 years ago)
Author:
robert
Message:

Added setDataVariance(DYNAMIC) to _inputText to prevent problems when running in DrawThreadPerContext? threading model.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgkeyboard/osgkeyboard.cpp

    r5927 r6157  
    327327        _inputText->setAlignment(osgText::Text::BASE_LINE); 
    328328        _inputText->setAxisAlignment(osgText::Text::XZ_PLANE); 
     329        _inputText->setDataVariance(osg::Object::DYNAMIC); 
    329330        _inputText->setText("Press some keys..."); 
    330331