Skip to content

Commit

Permalink
Hide the 3D Viewer when switching to plotting perspective.
Browse files Browse the repository at this point in the history
  • Loading branch information
adeas31 committed Mar 13, 2017
1 parent feadabe commit d297532
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions OMEdit/OMEditGUI/MainWindow.cpp
Expand Up @@ -3354,6 +3354,9 @@ void MainWindow::switchToWelcomePerspective()
mpLocalsDockWidget->hide();
mpTargetOutputDockWidget->hide();
mpGDBLoggerDockWidget->hide();
#if !defined(WITHOUT_OSG)
mpThreeDViewerDockWidget->hide();
#endif
// hide toolbars
mpEditToolBar->setVisible(false);
mpViewToolBar->setVisible(false);
Expand Down Expand Up @@ -3445,6 +3448,9 @@ void MainWindow::switchToPlottingPerspective()
mpLocalsDockWidget->hide();
mpTargetOutputDockWidget->hide();
mpGDBLoggerDockWidget->hide();
#if !defined(WITHOUT_OSG)
mpThreeDViewerDockWidget->hide();
#endif
}

/*!
Expand Down

0 comments on commit d297532

Please sign in to comment.