mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-13 08:52:14 -05:00
Contour Map: Fix incorrect null guard.
This commit is contained in:
1 parent
8b221c26ab
commit
8e6d8ee317
1 file changed
+1
-1
@@ -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 );
|
||||
|
||||
Reference in new issue
Block a user