(#679) Inactive cells can be toggled from the intersection

This commit is contained in:
Jacob Støren
2015-11-27 13:35:17 +01:00
parent 9f0c9d13b9
commit 0bda8e9a2f
5 changed files with 24 additions and 7 deletions

View File

@@ -435,7 +435,7 @@ cvf::ref<RivCrossSectionHexGridIntf> RivCrossSectionPartMgr::createHexGridInterf
{
RigMainGrid* grid = NULL;
grid = eclipseView->eclipseCase()->reservoirData()->mainGrid();
return new RivEclipseCrossSectionGrid(grid);
return new RivEclipseCrossSectionGrid(grid, eclipseView->currentActiveCellInfo(), m_rimCrossSection->showInactiveCells());
}
RimGeoMechView* geoView;