#2880 export completions if the the well path name is explictly provided even if unchecked

This commit is contained in:
Gaute Lindkvist
2018-05-09 12:40:57 +02:00
parent 43bb955ba2
commit 5310d28433
3 changed files with 22 additions and 22 deletions

View File

@@ -109,9 +109,13 @@ void RicfExportSimWellFractureCompletions::execute()
{
for (RimEclipseView* view : views)
{
std::copy(view->wellCollection()->wells.begin(),
view->wellCollection()->wells.end(),
std::back_inserter(simWells));
for (auto simWell : view->wellCollection()->wells)
{
if (simWell->showWell())
{
simWells.push_back(simWell);
}
}
}
}
else