mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 16:32:12 -05:00
Create Intersection: Crash for Intersection along Simulation well
Check if any geometry is present before accessing geometry data
This commit is contained in:
1 parent
47e9046785
commit
681acfb0e0
1 file changed
+2
@@ -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