#2632 Export Completions : Remove support for export of all well path completions

This commit is contained in:
Magne Sjaastad
2018-04-06 13:20:21 +02:00
parent a40c4df6b3
commit e50e34feb4
7 changed files with 7 additions and 56 deletions

View File

@@ -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);
}
}