mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3268 MSW Fracture Export: Add allFractures and allFishbones
This commit is contained in:
@@ -170,12 +170,12 @@ RimWellPathFractureCollection* RimWellPathCompletions::fractureCollection() cons
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RimWellPathCompletions::hasCompletions() const
|
||||
{
|
||||
if (!fractureCollection()->fractures().empty())
|
||||
if (!fractureCollection()->allFractures().empty())
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
return !fishbonesCollection()->fishbonesSubs().empty() ||
|
||||
return !fishbonesCollection()->allFishbonesSubs().empty() ||
|
||||
!fishbonesCollection()->wellPathCollection()->wellPaths().empty() ||
|
||||
!perforationCollection()->perforations().empty();
|
||||
}
|
||||
@@ -201,13 +201,13 @@ void RimWellPathCompletions::defineUiTreeOrdering(caf::PdmUiTreeOrdering& uiTree
|
||||
uiTreeOrdering.add(&m_perforationCollection);
|
||||
}
|
||||
|
||||
if (!fishbonesCollection()->fishbonesSubs().empty() ||
|
||||
if (!fishbonesCollection()->allFishbonesSubs().empty() ||
|
||||
!fishbonesCollection()->wellPathCollection()->wellPaths().empty())
|
||||
{
|
||||
uiTreeOrdering.add(&m_fishbonesCollection);
|
||||
}
|
||||
|
||||
if (!fractureCollection()->fractures().empty())
|
||||
if (!fractureCollection()->allFractures().empty())
|
||||
{
|
||||
uiTreeOrdering.add(&m_fractureCollection);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user