mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Remove asserts from defineEditorAttribute
This commit is contained in:
parent
e10c7fd633
commit
78be5b351e
@ -194,11 +194,11 @@ void RimWellPathFracture::defineEditorAttribute(const caf::PdmFieldHandle* field
|
|||||||
{
|
{
|
||||||
RimWellPath* rimWellPath = nullptr;
|
RimWellPath* rimWellPath = nullptr;
|
||||||
this->firstAncestorOrThisOfType(rimWellPath);
|
this->firstAncestorOrThisOfType(rimWellPath);
|
||||||
CVF_ASSERT(rimWellPath);
|
if (!rimWellPath) return;
|
||||||
|
|
||||||
RigWellPath* wellPathGeo = rimWellPath->wellPathGeometry();
|
RigWellPath* wellPathGeo = rimWellPath->wellPathGeometry();
|
||||||
CVF_ASSERT(wellPathGeo);
|
if (!wellPathGeo) return;
|
||||||
{
|
|
||||||
if (wellPathGeo->m_measuredDepths.size() > 2)
|
if (wellPathGeo->m_measuredDepths.size() > 2)
|
||||||
{
|
{
|
||||||
myAttr->m_minimum = wellPathGeo->m_measuredDepths.front();
|
myAttr->m_minimum = wellPathGeo->m_measuredDepths.front();
|
||||||
@ -206,6 +206,5 @@ void RimWellPathFracture::defineEditorAttribute(const caf::PdmFieldHandle* field
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user