mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Guard null pointer access
This commit is contained in:
@@ -205,6 +205,8 @@ void RivIntersectionGeometryGenerator::calculateArrays()
|
||||
{
|
||||
if (m_triangleVxes->size()) return;
|
||||
|
||||
if (m_hexGrid.isNull()) return;
|
||||
|
||||
m_extrusionDirection.normalize();
|
||||
std::vector<cvf::Vec3f> triangleVertices;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user