mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 16:32:12 -05:00
#1572 Do not show polygon for ellipsis fracture
This commit is contained in:
1 parent
689e62a22e
commit
29e1b10bcd
1 file changed
+4
-3
@@ -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<RimStimPlanFractureTemplate*>(m_rimFracture->attachedFractureDefinition())
|
||||
&& m_rimFracture->showPolygonFractureOutline()
|
||||
&& m_polygonPart.notNull())
|
||||
{
|
||||
model->addPart(m_polygonPart.p());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user