Contour map geomech: fix bug with visibility map

This commit is contained in:
Kristian Bendiksen authored and Magne Sjaastad committed 2024-11-26 17:35:05 +01:00
1 parent 41b1994311
commit 1199d761ee
1 file changed
+3 -1
@@ -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;
}
//--------------------------------------------------------------------------------------------------