#2234 Fractures : Export only sim well fractures ticked on in project tree

This commit is contained in:
Magne Sjaastad 2017-12-22 14:23:42 +01:00
parent 71c1267ab6
commit d9e29b91cb

View File

@ -107,7 +107,7 @@ std::vector<RigCompletionData> RicExportFractureCompletionsImpl::generateCompdat
std::vector<RimFracture*> fractures;
for (RimSimWellFracture* fracture : well->simwellFractureCollection->simwellFractures())
{
if (static_cast<size_t>(fracture->branchIndex()) == branchIndex)
if (fracture->isChecked() && static_cast<size_t>(fracture->branchIndex()) == branchIndex)
{
fractures.push_back(fracture);
}