Skip to content

Commit

Permalink
Create Intersection: Crash for Intersection along Simulation well
Browse files Browse the repository at this point in the history
Check if any geometry is present before accessing geometry data
  • Loading branch information
magnesj committed Dec 11, 2023
1 parent 40f8323 commit 666b909
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,8 @@ void RigVisibleCategoriesCalculator::appendVisibleIntersectionCells( RimEclipseV

for ( const auto geoGenerator : intersectionGeoGenerators )
{
if ( !geoGenerator->isAnyGeometryPresent() ) continue;

for ( const auto& cIdx : geoGenerator->triangleToCellIndex() )
{
visibleCells.insert( cIdx );
Expand Down

0 comments on commit 666b909

Please sign in to comment.