Commit 0608299d authored by Alexander Wiebel's avatar Alexander Wiebel

[CHANGE #300] cpu load is reduced by not updating nav widgets all the time

parent 17c69554
......@@ -59,6 +59,7 @@ WQtNavGLWidget::WQtNavGLWidget( QString title, QWidget* parent, std::string slid
m_scene = new WGEScene();
m_scene->setDataVariance( osg::Object::DYNAMIC );
m_glWidget->getViewer()->getView()->requestContinuousUpdate( false );
m_glWidget->getViewer()->setScene( m_scene );
if( title == QString( "axial" ) )
......
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