Skip to content

Commit

Permalink
Fix crash when creating contour map from 3d view.
Browse files Browse the repository at this point in the history
  • Loading branch information
kriben committed Apr 15, 2024
1 parent 520e552 commit 6a9beb5
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions ApplicationLibCode/Commands/RicNewContourMapViewFeature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 6a9beb5

Please sign in to comment.