mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#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:
@@ -190,10 +190,8 @@ RimEclipseView* RimEclipseCase::createCopyAndAddView(const RimEclipseView* sourc
|
||||
reservoirViews().push_back(rimEclipseView);
|
||||
|
||||
// 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
|
||||
rimEclipseView->initAfterReadRecursively();
|
||||
rimEclipseView->resolveReferencesRecursively();
|
||||
rimEclipseView->initAfterReadRecursively();
|
||||
|
||||
return rimEclipseView;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user