mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
AppFwk : Early exit if no scene is present
This commit is contained in:
@@ -85,6 +85,7 @@ void caf::TrackBallBasedNavigation::initializeRotationCenter()
|
||||
{
|
||||
if (m_isRotCenterInitialized
|
||||
|| m_trackball.isNull()
|
||||
|| !m_viewer->currentScene()
|
||||
|| !m_viewer->currentScene()->boundingBox().isValid())
|
||||
{
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user