mirror of
https://github.com/OPM/ResInsight.git
synced 2026-07-30 16:28:16 -05:00
NNC: Compute data on demand
This commit is contained in:
@@ -186,9 +186,9 @@ size_t RigNNCData::connectionsWithNoCommonArea( QStringList& connectionTextFirst
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RigNNCData::ensureConnectionDataIsProcecced()
|
||||
bool RigNNCData::ensureConnectionDataIsProcecced()
|
||||
{
|
||||
if ( m_connectionsAreProcessed ) return;
|
||||
if ( m_connectionsAreProcessed ) return false;
|
||||
|
||||
if ( m_mainGrid )
|
||||
{
|
||||
@@ -228,6 +228,8 @@ void RigNNCData::ensureConnectionDataIsProcecced()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user