From 29e1b10bcde636137d71de7d906649462c4d1008 Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Wed, 7 Jun 2017 11:17:56 +0200 Subject: [PATCH] #1572 Do not show polygon for ellipsis fracture --- .../ModelVisualization/RivWellFracturePartMgr.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ApplicationCode/ModelVisualization/RivWellFracturePartMgr.cpp b/ApplicationCode/ModelVisualization/RivWellFracturePartMgr.cpp index 1364ae0022..14bef87f7d 100644 --- a/ApplicationCode/ModelVisualization/RivWellFracturePartMgr.cpp +++ b/ApplicationCode/ModelVisualization/RivWellFracturePartMgr.cpp @@ -447,8 +447,6 @@ void RivWellFracturePartMgr::appendGeometryPartsToModel(cvf::ModelBasicList* mod { model->addPart(m_StimPlanMeshPart.p()); } - - } else { @@ -461,7 +459,10 @@ void RivWellFracturePartMgr::appendGeometryPartsToModel(cvf::ModelBasicList* mod { model->addPart(m_part.p()); } - if (m_rimFracture->showPolygonFractureOutline() && m_polygonPart.notNull()) + + if (dynamic_cast(m_rimFracture->attachedFractureDefinition()) + && m_rimFracture->showPolygonFractureOutline() + && m_polygonPart.notNull()) { model->addPart(m_polygonPart.p()); }