mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2234 Completion Export : Do not include unticked fishbones in project tree
This commit is contained in:
parent
500b298c26
commit
173ef575fd
@ -830,10 +830,18 @@ bool RicWellPathExportCompletionDataFeature::isPointBetween(const cvf::Vec3d& st
|
||||
std::vector<WellSegmentLocation> RicWellPathExportCompletionDataFeature::findWellSegmentLocations(const RimEclipseCase* caseToApply, const RimWellPath* wellPath)
|
||||
{
|
||||
std::vector<RimFishbonesMultipleSubs*> fishbonesSubs;
|
||||
for (RimFishbonesMultipleSubs* subs : wellPath->fishbonesCollection()->fishbonesSubs())
|
||||
|
||||
if (wellPath->fishbonesCollection()->isChecked())
|
||||
{
|
||||
fishbonesSubs.push_back(subs);
|
||||
for (RimFishbonesMultipleSubs* subs : wellPath->fishbonesCollection()->fishbonesSubs())
|
||||
{
|
||||
if (subs->isActive())
|
||||
{
|
||||
fishbonesSubs.push_back(subs);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return findWellSegmentLocations(caseToApply, wellPath, fishbonesSubs);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user