mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Create Intersection: Crash for Intersection along Simulation well
Check if any geometry is present before accessing geometry data
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user