diff --git a/ApplicationLibCode/ProjectDataModel/RimExtrudedCurveIntersection.cpp b/ApplicationLibCode/ProjectDataModel/RimExtrudedCurveIntersection.cpp index e450fe5156..f679373ba0 100644 --- a/ApplicationLibCode/ProjectDataModel/RimExtrudedCurveIntersection.cpp +++ b/ApplicationLibCode/ProjectDataModel/RimExtrudedCurveIntersection.cpp @@ -328,8 +328,6 @@ void RimExtrudedCurveIntersection::defineUiOrdering( QString uiConfigName, caf:: this->defineSeparateDataSourceUi( uiConfigName, uiOrdering ); - updateWellExtentDefaultValue(); - uiOrdering.skipRemainingFields( true ); } @@ -626,24 +624,6 @@ void RimExtrudedCurveIntersection::addExtents( std::vector& polyLine } } -//-------------------------------------------------------------------------------------------------- -/// -//-------------------------------------------------------------------------------------------------- -void RimExtrudedCurveIntersection::updateWellExtentDefaultValue() -{ - RimCase* ownerCase = nullptr; - firstAncestorOrThisOfType( ownerCase ); - - if ( ownerCase ) - { - cvf::BoundingBox caseBB = ownerCase->activeCellsBoundingBox(); - if ( m_extentLength == m_extentLength.defaultValue() && caseBB.radius() < 1000 ) - { - m_extentLength = caseBB.radius() * 0.1; - } - } -} - //-------------------------------------------------------------------------------------------------- /// //-------------------------------------------------------------------------------------------------- diff --git a/ApplicationLibCode/ProjectDataModel/RimExtrudedCurveIntersection.h b/ApplicationLibCode/ProjectDataModel/RimExtrudedCurveIntersection.h index 39741351bd..24f637794c 100644 --- a/ApplicationLibCode/ProjectDataModel/RimExtrudedCurveIntersection.h +++ b/ApplicationLibCode/ProjectDataModel/RimExtrudedCurveIntersection.h @@ -139,7 +139,6 @@ private: RimSimWellInViewCollection* simulationWellCollection() const; void updateAzimuthLine(); void updateSimulationWellCenterline() const; - void updateWellExtentDefaultValue(); void addExtents( std::vector& polyLine ) const; void updateName(); static double azimuthInRadians( cvf::Vec3d vec );