#5019 Fix wrong use of explicit scalar mappers for intersections

Only 2d intersection view is supposed to use them
This commit is contained in:
Jacob Støren
2019-11-25 15:33:42 +01:00
parent baedf02ba9
commit 7aec88de3c
7 changed files with 12 additions and 21 deletions

View File

@@ -794,9 +794,7 @@ void RimEclipseView::updateVisibleGeometriesAndCellColors()
if ( ( this->hasUserRequestedAnimation() && this->cellResult()->hasResult() ) ||
this->cellResult()->isTernarySaturationSelected() )
{
m_crossSectionCollection->updateCellResultColor( m_currentTimeStep,
this->cellResult()->legendConfig()->scalarMapper(),
this->cellResult()->ternaryLegendConfig()->scalarMapper() );
m_crossSectionCollection->updateCellResultColor( m_currentTimeStep );
}
else
{