mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-27 08:47:00 -06:00
#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:
parent
25ad832ab0
commit
010c9a539f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user