mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Contour map geomech: fix bug with visibility map
This commit is contained in:
committed by
Magne Sjaastad
parent
41b1994311
commit
1199d761ee
@@ -114,7 +114,8 @@ cvf::BoundingBox RigGeoMechContourMapProjection::calculateExpandedPorBarBBox( Ri
|
|||||||
std::vector<bool> RigGeoMechContourMapProjection::getMapCellVisibility( int viewStepIndex,
|
std::vector<bool> RigGeoMechContourMapProjection::getMapCellVisibility( int viewStepIndex,
|
||||||
RigContourMapCalculator::ResultAggregationType resultAggregation )
|
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 )
|
int viewerStepIndex )
|
||||||
{
|
{
|
||||||
m_aggregatedResults = generateResultsFromAddress( resultAddress, m_mapCellVisibility, resultAggregation, viewerStepIndex );
|
m_aggregatedResults = generateResultsFromAddress( resultAddress, m_mapCellVisibility, resultAggregation, viewerStepIndex );
|
||||||
|
m_currentResultAddr = resultAddress;
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user