#1385 Fixed copy view problem, when flow diagnostics result was used.

Also fixed potential other problems due to same cause: resolve must be done before initAfterRead
This commit is contained in:
Jacob Støren
2017-04-03 12:33:27 +02:00
parent 3cefc2f7a8
commit 5e6018acb7
5 changed files with 20 additions and 10 deletions

View File

@@ -152,10 +152,8 @@ void RicExportMultipleSnapshotsFeature::exportMultipleSnapshots(const QString& f
copyOfGeoMechView->setGeoMechCase(geomCase);
// Resolve references after reservoir view has been inserted into Rim structures
// Intersections referencing a well path/ simulation well requires this
// TODO: initAfterReadRecursively can probably be removed
copyOfGeoMechView->initAfterReadRecursively();
copyOfGeoMechView->resolveReferencesRecursively();
copyOfGeoMechView->initAfterReadRecursively();
copyOfGeoMechView->loadDataAndUpdate();