mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2288 Fracture Viz : Do not show fracture attached to an invisible well path
This commit is contained in:
@@ -104,7 +104,7 @@ RivWellPathPartMgr::~RivWellPathPartMgr()
|
|||||||
#ifdef USE_PROTOTYPE_FEATURE_FRACTURES
|
#ifdef USE_PROTOTYPE_FEATURE_FRACTURES
|
||||||
void RivWellPathPartMgr::appendStaticFracturePartsToModel(cvf::ModelBasicList* model, const RimEclipseView* eclView)
|
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())
|
for (RimWellPathFracture* f : m_rimWellPath->fractureCollection()->fractures())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user