Commit 320cef30 authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum
Browse files

[FIX] - omiting the minimum size can lead to problems in several OSG...

[FIX] - omiting the minimum size can lead to problems in several OSG manipulators. Exact reason not known.
parent 78733d76
......@@ -44,6 +44,10 @@ WQtGLDockWidget::WQtGLDockWidget( QString viewTitle, QString dockTitle, QWidget*
m_glWidget = boost::shared_ptr<WQtGLWidget>( new WQtGLWidget( viewTitle.toStdString(), m_panel, projectionMode, shareWidget ) );
// NOTE: do not remove this. When creating custom widgets using the OSG manipulators, a too small size here (or even no min size) causes the
// cull visitor to do crap ... unknown reason ...
setMinimumSize( 50, 50 );
// add panel to layout.
m_layout->addWidget( m_glWidget.get() );
m_panel->setLayout( m_layout );
......
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