diff --git a/ApplicationLibCode/ProjectDataModel/RimRegularGridCase.cpp b/ApplicationLibCode/ProjectDataModel/RimRegularGridCase.cpp index 18508dbba8..b7d2cc964d 100644 --- a/ApplicationLibCode/ProjectDataModel/RimRegularGridCase.cpp +++ b/ApplicationLibCode/ProjectDataModel/RimRegularGridCase.cpp @@ -82,6 +82,7 @@ cvf::ref RimRegularGridCase::createModel( QString modelName reader->open( "", reservoir.p() ); setReservoirData( reservoir.p() ); + computeCachedData(); return reader.p(); } @@ -93,12 +94,7 @@ bool RimRegularGridCase::openEclipseGridFile() { if ( eclipseCaseData() ) return true; - auto readerInterface = createModel( "" ); - - results( RiaDefines::PorosityModelType::MATRIX_MODEL )->setReaderInterface( readerInterface.p() ); - results( RiaDefines::PorosityModelType::FRACTURE_MODEL )->setReaderInterface( readerInterface.p() ); - - computeCachedData(); + createModel( "" ); return true; }