mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5379 Surface : Add grid case surface
This commit is contained in:
@@ -141,6 +141,7 @@ void RivSurfaceIntersectionGeometryGenerator::calculateArrays()
|
||||
{
|
||||
if ( m_triangleVxes->size() ) return;
|
||||
if ( m_hexGrid.isNull() ) return;
|
||||
if ( !m_surfaceInView->surface()->surfaceData() ) return;
|
||||
|
||||
std::vector<cvf::Vec3f> outputTriangleVertices;
|
||||
|
||||
@@ -323,8 +324,6 @@ cvf::ref<cvf::DrawableGeo> RivSurfaceIntersectionGeometryGenerator::generateSurf
|
||||
{
|
||||
calculateArrays();
|
||||
|
||||
CVF_ASSERT( m_triangleVxes.notNull() );
|
||||
|
||||
if ( m_triangleVxes->size() == 0 ) return nullptr;
|
||||
|
||||
cvf::ref<cvf::DrawableGeo> geo = new cvf::DrawableGeo;
|
||||
|
||||
Reference in New Issue
Block a user