mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#10690 Fractures: Show Perforation Interval for azimuth fractures.
Fixes #10690.
This commit is contained in:
parent
a2919d4b0e
commit
5bba0eaea8
@ -923,7 +923,11 @@ void RivWellFracturePartMgr::appendFracturePerforationLengthParts( const RimEcli
|
||||
if ( !m_rimFracture->isChecked() ) return;
|
||||
|
||||
if ( !m_rimFracture->fractureTemplate() ) return;
|
||||
if ( m_rimFracture->fractureTemplate()->orientationType() != RimFractureTemplate::ALONG_WELL_PATH ) return;
|
||||
|
||||
bool hasPerforation = ( m_rimFracture->fractureTemplate()->orientationType() == RimFractureTemplate::ALONG_WELL_PATH ||
|
||||
( m_rimFracture->fractureTemplate()->orientationType() == RimFractureTemplate::AZIMUTH &&
|
||||
m_rimFracture->fractureTemplate()->useUserDefinedPerforationLength() ) );
|
||||
if ( !hasPerforation ) return;
|
||||
|
||||
auto displayCoordTransform = activeView.displayCoordTransform();
|
||||
if ( displayCoordTransform.isNull() ) return;
|
||||
|
Loading…
Reference in New Issue
Block a user