mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3533 Perforation Interval : Allow init of sliders for two well targets
This commit is contained in:
@@ -364,18 +364,17 @@ void RimPerforationInterval::defineEditorAttribute(const caf::PdmFieldHandle* fi
|
||||
RigWellPath* wellPathGeo = rimWellPath->wellPathGeometry();
|
||||
if (!wellPathGeo) return;
|
||||
|
||||
if (wellPathGeo->m_measuredDepths.size() > 2)
|
||||
if (wellPathGeo->m_measuredDepths.size() > 1)
|
||||
{
|
||||
myAttr->m_minimum = wellPathGeo->m_measuredDepths.front();
|
||||
myAttr->m_maximum = wellPathGeo->m_measuredDepths.back();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimPerforationInterval::initAfterRead()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user