Fix crash in RimWellPathValve when perforation is larger than wellpath

* This is the case with the Completions_msw Regression test
This commit is contained in:
Gaute Lindkvist
2018-12-07 12:56:32 +01:00
parent c51b938d03
commit 539914a541
3 changed files with 11 additions and 5 deletions

View File

@@ -84,8 +84,10 @@ void RimWellPathValve::setMeasuredDepthAndCount(double startMD, double spacing,
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimWellPathValve::geometryUpdated()
void RimWellPathValve::multipleValveGeometryUpdated()
{
if (m_multipleValveLocations->valveLocations().empty()) return;
m_measuredDepth = m_multipleValveLocations->valveLocations().front();
RimProject* proj;