mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1572 Do not show polygon for ellipsis fracture
This commit is contained in:
parent
689e62a22e
commit
29e1b10bcd
@ -447,8 +447,6 @@ void RivWellFracturePartMgr::appendGeometryPartsToModel(cvf::ModelBasicList* mod
|
|||||||
{
|
{
|
||||||
model->addPart(m_StimPlanMeshPart.p());
|
model->addPart(m_StimPlanMeshPart.p());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -461,7 +459,10 @@ void RivWellFracturePartMgr::appendGeometryPartsToModel(cvf::ModelBasicList* mod
|
|||||||
{
|
{
|
||||||
model->addPart(m_part.p());
|
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());
|
model->addPart(m_polygonPart.p());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user