mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix crash when creating contour map from 3d view.
This commit is contained in:
parent
4f8c081669
commit
9c0f601ba6
@ -273,14 +273,6 @@ RimEclipseContourMapView* RicNewContourMapViewFeature::createEclipseContourMapFr
|
|||||||
|
|
||||||
contourMap->synchronizeLocalAnnotationsFromGlobal();
|
contourMap->synchronizeLocalAnnotationsFromGlobal();
|
||||||
|
|
||||||
// Resolve references after contour map has been inserted into Rim structures
|
|
||||||
std::vector<caf::PdmFieldHandle*> fieldsWithFailingResolve;
|
|
||||||
contourMap->resolveReferencesRecursively( &fieldsWithFailingResolve );
|
|
||||||
|
|
||||||
// TODO: Introduce the assert when code is stable
|
|
||||||
// If we have intersections on well paths, the resolving is now failing
|
|
||||||
// CVF_ASSERT(fieldsWithFailingResolve.empty());
|
|
||||||
|
|
||||||
contourMap->initAfterReadRecursively();
|
contourMap->initAfterReadRecursively();
|
||||||
|
|
||||||
eclipseCase->contourMapCollection()->updateConnectedEditors();
|
eclipseCase->contourMapCollection()->updateConnectedEditors();
|
||||||
|
Loading…
Reference in New Issue
Block a user