Commit ef9e4c57 authored by cornimueller's avatar cornimueller
Browse files

[CHANGE] OSG wants, that nodes which may change are set to dynamic data variance.

parent cb725907
......@@ -39,6 +39,7 @@ WQtCustomDockWidget::WQtCustomDockWidget( std::string title, QWidget* parent, WG
m_glWidget = boost::shared_ptr< WQtGLWidget >( new WQtGLWidget( title, this, projectionMode ) );
m_glWidget->initialize();
m_scene = new osg::Group;
m_scene->setDataVariance( osg::Object::DYNAMIC );
m_glWidget->getViewer()->setScene( m_scene );
setWidget( m_glWidget.get() );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment