Commit cf674172 authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum
Browse files

[CHANGE] - enabled permanent mouse tracking in custom widgets

parent e67ce5ae
......@@ -39,6 +39,9 @@ WQtCustomDockWidget::WQtCustomDockWidget( std::string title, QWidget* parent, WG
m_scene = new WGEGroupNode();
m_scene->setDataVariance( osg::Object::DYNAMIC );
getGLWidget()->getViewer()->setScene( m_scene );
// send mouse move events even if no button is pressed
getGLWidget()->setMouseTracking( true );
}
osg::ref_ptr< WGEGroupNode > WQtCustomDockWidget::getScene() const
......
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