Fix intersection depth filter limit calculations

This commit is contained in:
Jon Jenssen
2022-08-01 15:42:26 +02:00
committed by Magne Sjaastad
parent 3c835f7eb2
commit 530329aed6
4 changed files with 17 additions and 19 deletions

View File

@@ -237,7 +237,7 @@ void RivExtrudedCurveIntersectionPartMgr::generatePartGeometry()
if ( m_intersectionGenerator.isNull() ) return;
if ( m_rimIntersection->depthFilterType() == RimIntersectionFilterEnum::INTERSECT_FILTER_BETWEEN &&
( m_rimIntersection->lowerFilterDepth( 1.0 ) <= m_rimIntersection->upperFilterDepth( 1.0 ) ) )
( m_rimIntersection->lowerFilterDepth( 1.0 ) >= m_rimIntersection->upperFilterDepth( 1.0 ) ) )
return;
bool useBufferObjects = true;