mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5019 Fix wrong use of explicit scalar mappers for intersections
Only 2d intersection view is supposed to use them
This commit is contained in:
@@ -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() );
|
||||
}
|
||||
|
||||
@@ -68,8 +68,8 @@ public:
|
||||
|
||||
void applySingleColorEffect();
|
||||
void updateCellResultColor( size_t timeStepIndex,
|
||||
const cvf::ScalarMapper* scalarColorMapper,
|
||||
const RivTernaryScalarMapper* ternaryColorMapper );
|
||||
const cvf::ScalarMapper* explicitScalarColorMapper,
|
||||
const RivTernaryScalarMapper* explicitTernaryColorMapper );
|
||||
|
||||
void appendNativeCrossSectionFacesToModel( cvf::ModelBasicList* model, cvf::Transform* scaleTransform );
|
||||
void appendMeshLinePartsToModel( cvf::ModelBasicList* model, cvf::Transform* scaleTransform );
|
||||
@@ -113,4 +113,3 @@ private:
|
||||
|
||||
bool m_isFlattened;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user