diff --git a/ApplicationLibCode/ProjectDataModel/Rim2dIntersectionView.cpp b/ApplicationLibCode/ProjectDataModel/Rim2dIntersectionView.cpp index 5830794a08..63e67d833c 100644 --- a/ApplicationLibCode/ProjectDataModel/Rim2dIntersectionView.cpp +++ b/ApplicationLibCode/ProjectDataModel/Rim2dIntersectionView.cpp @@ -644,17 +644,21 @@ void Rim2dIntersectionView::onUpdateDisplayModelForCurrentTimeStep() } } - if ( m_flatIntersectionPartMgr.notNull() && hasResults() ) - { - m_flatIntersectionPartMgr->updateCellResultColor( m_currentTimeStep, - m_legendConfig->scalarMapper(), - m_ternaryLegendConfig()->scalarMapper() ); - } - else + if ( m_flatIntersectionPartMgr.notNull() ) { - m_flatIntersectionPartMgr->applySingleColorEffect(); + if ( hasResults() ) + { + m_flatIntersectionPartMgr->updateCellResultColor( m_currentTimeStep, + m_legendConfig->scalarMapper(), + m_ternaryLegendConfig()->scalarMapper() ); + } + else + { + m_flatIntersectionPartMgr->applySingleColorEffect(); + } } } + //-------------------------------------------------------------------------------------------------- /// //--------------------------------------------------------------------------------------------------