Faults: Eclipse input case use preferences to control import of faults

This commit is contained in:
Magne Sjaastad
2013-12-20 09:18:52 +01:00
parent b7141dde50
commit 59eeb0894f
8 changed files with 28 additions and 31 deletions

View File

@@ -196,8 +196,6 @@ RifReaderEclipseOutput::RifReaderEclipseOutput()
m_ecl_init_file = NULL;
m_dynamicResultsAccess = NULL;
m_enableFaultsImport = true;
}
//--------------------------------------------------------------------------------------------------
@@ -379,7 +377,7 @@ bool RifReaderEclipseOutput::open(const QString& fileName, RigCaseData* eclipseC
progInfo.setProgressDescription("Reading faults");
progInfo.setNextProgressIncrement(10);
if (m_enableFaultsImport)
if (isFaultImportEnabled())
{
if (this->filenamesWithFaults().size() > 0)
{
@@ -1710,11 +1708,3 @@ std::string RifReaderEclipseOutput::ertGridName(size_t gridNr)
return gridName;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RifReaderEclipseOutput::enableFaultsImport(bool enableFaultsImport)
{
m_enableFaultsImport = enableFaultsImport;
}