Contour map geomech: fix bug with visibility map

This commit is contained in:
Kristian Bendiksen 2024-11-26 15:29:14 +01:00 committed by Magne Sjaastad
parent 41b1994311
commit 1199d761ee

View File

@ -114,7 +114,8 @@ cvf::BoundingBox RigGeoMechContourMapProjection::calculateExpandedPorBarBBox( Ri
std::vector<bool> RigGeoMechContourMapProjection::getMapCellVisibility( int viewStepIndex,
RigContourMapCalculator::ResultAggregationType resultAggregation )
{
return getMapCellVisibility( m_currentResultAddr, viewStepIndex, resultAggregation );
m_mapCellVisibility = getMapCellVisibility( m_currentResultAddr, viewStepIndex, resultAggregation );
return m_mapCellVisibility;
}
//--------------------------------------------------------------------------------------------------
@ -187,6 +188,7 @@ void RigGeoMechContourMapProjection::generateAndSaveResults( RigFemResultAddress
int viewerStepIndex )
{
m_aggregatedResults = generateResultsFromAddress( resultAddress, m_mapCellVisibility, resultAggregation, viewerStepIndex );
m_currentResultAddr = resultAddress;
}
//--------------------------------------------------------------------------------------------------