mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Minor seismic surface lines fixes
* Support continuous lines along the seismic surface * Make sure watertight surface include all cells * Remove unused function and mark with static * Invert surface intersection line visibility control
This commit is contained in:
@@ -312,7 +312,10 @@ void RimGridCaseSurface::extractGridDataUsingFourVerticesPerCell()
|
||||
const auto& cell = grid->cell( currentCellIndex );
|
||||
|
||||
if ( cell.isInvalid() ) continue;
|
||||
if ( !m_includeInactiveCells() && activeCells && !activeCells->isActive( currentCellIndex ) ) continue;
|
||||
|
||||
bool skipInactiveCells = !m_includeInactiveCells();
|
||||
if ( m_watertight ) skipInactiveCells = false;
|
||||
if ( skipInactiveCells && activeCells && !activeCells->isActive( currentCellIndex ) ) continue;
|
||||
|
||||
cvf::Vec3d currentCornerVerts[8];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user