mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Contour Map: Fix incorrect null guard.
This commit is contained in:
parent
8b221c26ab
commit
8e6d8ee317
@ -493,7 +493,7 @@ cvf::ref<cvf::UByteArray> RimContourMapProjection::getCellVisibility() const
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RimContourMapProjection::mapCellVisibilityNeedsUpdating( int timestep )
|
||||
{
|
||||
if ( m_contourMapProjection ) return true;
|
||||
if ( !m_contourMapProjection ) return true;
|
||||
|
||||
std::vector<bool> mapCellVisiblity = m_contourMapProjection->getMapCellVisibility( timestep, m_resultAggregation() );
|
||||
return !( mapCellVisiblity == m_mapCellVisibility );
|
||||
|
Loading…
Reference in New Issue
Block a user