diff --git a/ApplicationLibCode/ProjectDataModel/RimContourMapProjection.cpp b/ApplicationLibCode/ProjectDataModel/RimContourMapProjection.cpp index acf64a369d..35e3fc7d59 100644 --- a/ApplicationLibCode/ProjectDataModel/RimContourMapProjection.cpp +++ b/ApplicationLibCode/ProjectDataModel/RimContourMapProjection.cpp @@ -391,7 +391,9 @@ void RimContourMapProjection::clearGridMapping() clearResults(); clearTimeStepRange(); - if ( m_contourMapProjection ) m_contourMapProjection->clearGridMapping(); + if ( m_contourMapProjection ) m_contourMapProjection.reset(); + if ( m_contourMapGrid ) m_contourMapGrid.reset(); + m_mapCellVisibility.clear(); }