#5119, #5120 Default case for intersection result

Fixed missing intersection colors when cellresults are turned off
This commit is contained in:
Jacob Støren
2019-11-29 09:29:17 +01:00
parent fa72835dd8
commit 021af085a7
10 changed files with 87 additions and 40 deletions

View File

@@ -792,15 +792,10 @@ void RimEclipseView::updateVisibleGeometriesAndCellColors()
this->updateFaultColors();
if ( ( this->hasUserRequestedAnimation() && this->cellResult()->hasResult() ) ||
this->cellResult()->isTernarySaturationSelected() )
{
m_intersectionCollection->updateCellResultColor( m_currentTimeStep );
}
else
{
m_intersectionCollection->applySingleColorEffect();
}
m_intersectionCollection->updateCellResultColor( ( this->hasUserRequestedAnimation() &&
this->cellResult()->hasResult() ) ||
this->cellResult()->isTernarySaturationSelected(),
m_currentTimeStep );
}
//--------------------------------------------------------------------------------------------------