mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2632 Export Completions : Remove support for export of all well path completions
This commit is contained in:
@@ -74,19 +74,11 @@ void RicWellPathExportCompletionDataFeatureImpl::exportCompletions(const std::ve
|
||||
}
|
||||
|
||||
std::vector<RimWellPath*> usedWellPaths;
|
||||
if (exportSettings.wellSelection == RicExportCompletionDataSettingsUi::ALL_WELLS ||
|
||||
exportSettings.wellSelection == RicExportCompletionDataSettingsUi::SELECTED_WELLS)
|
||||
for (auto wellPath : wellPaths)
|
||||
{
|
||||
usedWellPaths = wellPaths;
|
||||
}
|
||||
else if (exportSettings.wellSelection == RicExportCompletionDataSettingsUi::CHECKED_WELLS)
|
||||
{
|
||||
for (auto wellPath : wellPaths)
|
||||
if (wellPath->showWellPath)
|
||||
{
|
||||
if (wellPath->showWellPath)
|
||||
{
|
||||
usedWellPaths.push_back(wellPath);
|
||||
}
|
||||
usedWellPaths.push_back(wellPath);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user