mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-30 17:42:13 -06:00
Fix intersection crash by making sure we do nothing when top limit is below bottom limit
This commit is contained in:
1 parent
fd7821a10b
commit
89773da26e
3 files changed
+19
-2
No files matched your search
@@ -343,6 +343,18 @@ double RimExtrudedCurveIntersection::upperFilterDepth( double sceneRadius ) cons
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimIntersectionFilterEnum RimExtrudedCurveIntersection::depthFilterType() const
|
||||
{
|
||||
if ( m_depthThresholdOverridden )
|
||||
{
|
||||
return m_collectionDepthFilterType();
|
||||
}
|
||||
return m_depthFilterType();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user