#4360 Make sure we display cell colors for grids without dynamic variables even if the project has wells in it

This commit is contained in:
Gaute Lindkvist 2019-04-26 14:22:51 +02:00
parent c3dfbf791d
commit 950458455d

View File

@ -365,7 +365,7 @@ void RimEclipseView::createDisplayModel()
// Find the number of time frames the animation needs to show the requested data.
if (isTimeStepDependentDataVisible())
if (isTimeStepDependentDataVisible() && currentGridCellResults()->maxTimeStepCount() > 0)
{
CVF_ASSERT(currentGridCellResults());