#4579 Countour Map : Fix missing data for Eclipse cases

Introduction of checkable sub grids caused contour maps to display nothing. The problematic code was  m_gridCollection->setActive(false);

Changes in update logic based on checked state of visible grids triggered new computation of visible cells. In this case, all grids where marked as invisible due to the disabled grid collection.
This commit is contained in:
Magne Sjaastad 2019-08-15 10:08:19 +02:00
parent 25ad832ab0
commit 010c9a539f

View File

@ -62,7 +62,6 @@ RimEclipseContourMapView::RimEclipseContourMapView()
CAF_PDM_InitField(&m_showAxisLines, "ShowAxisLines", true, "Show Axis Lines", "", "", "");
CAF_PDM_InitField(&m_showScaleLegend, "ShowScaleLegend", true, "Show Scale Legend", "", "", "");
m_gridCollection->setActive(false); // This is also not added to the tree view, so cannot be enabled.
setFaultVisParameters();
setDefaultCustomName();
@ -164,7 +163,6 @@ void RimEclipseContourMapView::updateCurrentTimeStepAndRedraw()
//--------------------------------------------------------------------------------------------------
void RimEclipseContourMapView::initAfterRead()
{
m_gridCollection->setActive(false); // This is also not added to the tree view, so cannot be enabled.
disablePerspectiveProjectionField();
setShowGridBox(false);
meshMode.setValue(RiaDefines::NO_MESH);