#2429, #2430. Display perforations correctly

This commit is contained in:
Bjørn Erik Jensen
2018-01-31 15:34:50 +01:00
parent fa66cf14cd
commit 60afae10ad
6 changed files with 26 additions and 2 deletions

View File

@@ -37,6 +37,7 @@
#include "RimProject.h"
#include "RimWellLogFile.h"
#include "RimWellPath.h"
#include "RimPerforationCollection.h"
#include "RiuMainWindow.h"
@@ -478,6 +479,18 @@ void RimWellPathCollection::updateFilePathsFromProjectPath(const QString& newPro
}
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
bool RimWellPathCollection::anyWellsContainingPerforationIntervals() const
{
for (const auto& wellPath : wellPaths)
{
if (!wellPath->perforationIntervalCollection()->perforations().empty()) return true;
}
return false;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------