#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

@@ -150,15 +150,15 @@ void RivIntersectionPartMgr::applySingleColorEffect()
///
//--------------------------------------------------------------------------------------------------
void RivIntersectionPartMgr::updateCellResultColor( size_t timeStepIndex,
const cvf::ScalarMapper* scalarColorMapper,
const RivTernaryScalarMapper* ternaryColorMapper )
const cvf::ScalarMapper* explicitScalarColorMapper,
const RivTernaryScalarMapper* explicitTernaryColorMapper )
{
RivIntersectionResultsColoringTools::updateCellResultColorStatic( timeStepIndex,
!m_isFlattened,
m_rimCrossSection,
m_crossSectionGenerator.p(),
scalarColorMapper,
ternaryColorMapper,
explicitScalarColorMapper,
explicitTernaryColorMapper,
m_crossSectionFaces.p(),
m_crossSectionFacesTextureCoords.p() );
}