#2288 Fracture Viz : Do not show fracture attached to an invisible well path

This commit is contained in:
Magne Sjaastad
2017-12-22 13:43:32 +01:00
parent 0869a8edf5
commit 4956604a86

View File

@@ -104,7 +104,7 @@ RivWellPathPartMgr::~RivWellPathPartMgr()
#ifdef USE_PROTOTYPE_FEATURE_FRACTURES
void RivWellPathPartMgr::appendStaticFracturePartsToModel(cvf::ModelBasicList* model, const RimEclipseView* eclView)
{
if (!m_rimWellPath || !m_rimWellPath->fractureCollection()->isChecked()) return;
if (!m_rimWellPath || !m_rimWellPath->showWellPath() || !m_rimWellPath->fractureCollection()->isChecked()) return;
for (RimWellPathFracture* f : m_rimWellPath->fractureCollection()->fractures())
{