#3870 Abort when creating contour map : Remove assert

This commit is contained in:
Magne Sjaastad 2018-12-13 14:28:14 +01:00
parent 01249ace3a
commit 74b4828219

View File

@ -163,11 +163,9 @@ RimContourMapView* RicNewContourMapViewFeature::create2dContourMapFrom3dView(Rim
std::vector<caf::PdmFieldHandle*> fieldsWithFailingResolve;
contourMap->resolveReferencesRecursively(&fieldsWithFailingResolve);
// The assert is placed inside an ifdef block for now. If we have intersections on well paths,
// the resolving is now failing
#ifndef NDEBUG
CVF_ASSERT(fieldsWithFailingResolve.empty());
#endif // NDEBUG
// 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();