mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Faults: Eclipse input case use preferences to control import of faults
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user