#1544 Fracture : Show perforation length for along well path fractures

This commit is contained in:
Magne Sjaastad
2018-01-19 15:08:28 +01:00
parent 53418179ba
commit 5c1f5326a0
4 changed files with 79 additions and 1 deletions

View File

@@ -230,7 +230,8 @@ void RimFracture::fieldChangedByUi(const caf::PdmFieldHandle* changedField, cons
changedField == &m_stimPlanCellVizMode ||
changedField == this->objectToggleField() ||
changedField == &m_dip ||
changedField == &m_tilt)
changedField == &m_tilt ||
changedField == &m_perforationLength)
{
Rim3dView* rimView = nullptr;
this->firstAncestorOrThisOfType(rimView);

View File

@@ -168,6 +168,16 @@ void RimFractureTemplate::fieldChangedByUi(const caf::PdmFieldHandle* changedFie
}
}
}
if (changedField == &perforationLength)
{
RimProject* proj;
this->firstAncestorOrThisOfType(proj);
if (proj)
{
proj->createDisplayModelAndRedrawAllViews();
}
}
}
//--------------------------------------------------------------------------------------------------