mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix crash in intersection coloring wne geometry is missing
This commit is contained in:
parent
10257e3bfb
commit
c1df283369
@ -55,7 +55,7 @@ void RivIntersectionResultsColoringTools::updateCellResultColorStatic(
|
||||
cvf::Part* intersectionFacesPart,
|
||||
cvf::Vec2fArray* intersectionFacesTextureCoords )
|
||||
{
|
||||
if ( !intersectionGeomGenIF->isAnyGeometryPresent() ) return;
|
||||
if ( !intersectionGeomGenIF || !intersectionGeomGenIF->isAnyGeometryPresent() ) return;
|
||||
|
||||
RimGridView* gridView = nullptr;
|
||||
rimIntersectionHandle->firstAncestorOrThisOfType( gridView );
|
||||
|
Loading…
Reference in New Issue
Block a user