mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fixed #1130 Make sure visibility of fractures follows pipe/sphere visibility
This commit is contained in:
@@ -641,6 +641,17 @@ void RimEclipseView::updateCurrentTimeStep()
|
||||
this->descendantsIncludingThisOfType(fractures);
|
||||
for (RimFracture* f : fractures)
|
||||
{
|
||||
RimEclipseWell* eclWell = nullptr;
|
||||
f->firstAncestorOrThisOfType(eclWell);
|
||||
if (eclWell)
|
||||
{
|
||||
bool isAnyGeometryPresent = eclWell->isWellPipeVisible(m_currentTimeStep) || eclWell->isWellSpheresVisible(m_currentTimeStep);
|
||||
if (!isAnyGeometryPresent)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
f->fracturePartManager()->appendGeometryPartsToModel(wellPipeModelBasicList.p(), transForm.p());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user