mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#7117 Fix stale data when reimporting elastic properties
This commit is contained in:
committed by
Magne Sjaastad
parent
f12a3ed1ba
commit
8ce01c098a
@@ -87,6 +87,11 @@ void RicElasticPropertiesImportTools::importElasticPropertiesFromFile( const QSt
|
||||
|
||||
RimElasticProperties* rimElasticProperties = stimPlanModelTemplate->elasticProperties();
|
||||
if ( !rimElasticProperties ) rimElasticProperties = new RimElasticProperties;
|
||||
|
||||
// Clear the properties to avoid keeping data which has been deleted
|
||||
// from the file since the last import.
|
||||
rimElasticProperties->clearProperties();
|
||||
|
||||
for ( FaciesKey key : faciesKeys )
|
||||
{
|
||||
std::vector<RifElasticProperties> matchingFacies;
|
||||
|
||||
Reference in New Issue
Block a user