CellEdge : Early exit if not enabled

This commit is contained in:
Magne Sjaastad 2018-10-25 20:56:37 +02:00
parent 8ca73960f4
commit 81ff5f70af

View File

@ -100,6 +100,7 @@ void RimCellEdgeColors::setReservoirView(RimEclipseView* ownerReservoirView)
//--------------------------------------------------------------------------------------------------
void RimCellEdgeColors::loadResult()
{
if (!enableCellEdgeColors) return;
if (!m_reservoirView->currentGridCellResults()) return;
if (isUsingSingleVariable())