Fracture: show perforation length field in fracture for azimuth + user-defined perf length.

This commit is contained in:
Kristian Bendiksen 2023-01-20 11:01:18 +01:00
parent eedda3fa40
commit 53a80cd86a

View File

@ -754,7 +754,11 @@ void RimFracture::defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& ui
m_azimuth.uiCapability()->setUiReadOnly( false );
}
if ( fractureTemplate()->orientationType() == RimFractureTemplate::ALONG_WELL_PATH )
fractureTemplate()->useUserDefinedPerforationLength();
if ( fractureTemplate()->orientationType() == RimFractureTemplate::ALONG_WELL_PATH ||
( fractureTemplate()->orientationType() == RimFractureTemplate::AZIMUTH &&
fractureTemplate()->useUserDefinedPerforationLength() ) )
{
m_perforationEfficiency.uiCapability()->setUiHidden( false );
m_perforationLength.uiCapability()->setUiHidden( false );