Fix crash when creating contour map from 3d view.

This commit is contained in:
Kristian Bendiksen 2024-04-12 13:36:29 +02:00
parent 4f8c081669
commit 9c0f601ba6

View File

@ -273,14 +273,6 @@ RimEclipseContourMapView* RicNewContourMapViewFeature::createEclipseContourMapFr
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();
eclipseCase->contourMapCollection()->updateConnectedEditors();