Fracture Templates : Refactor load and update logic when geometry changes

This commit is contained in:
Magne Sjaastad
2018-09-13 08:32:27 +02:00
parent fe4ce550e0
commit c7c34d3735
8 changed files with 32 additions and 28 deletions

View File

@@ -154,7 +154,7 @@ void RimStimPlanFractureTemplate::fieldChangedByUi(const caf::PdmFieldHandle* ch
if (changedField == &m_scaleApplyButton)
{
m_scaleApplyButton = false;
reload();
onLoadDataAndUpdateGeometryHasChanged();
}
}
@@ -685,7 +685,7 @@ void RimStimPlanFractureTemplate::convertToUnitSystem(RiaEclipseUnitTools::UnitS
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimStimPlanFractureTemplate::reload()
void RimStimPlanFractureTemplate::onLoadDataAndUpdateGeometryHasChanged()
{
loadDataAndUpdate();