#1607 Optionally split export of completions over several files

This commit is contained in:
Bjørnar Grip Fjær
2017-06-15 11:21:37 +02:00
parent 403bf1890c
commit 14f91736b7
6 changed files with 96 additions and 25 deletions

View File

@@ -128,7 +128,6 @@ void RimFishbonesMultipleSubs::setMeasuredDepthAndCount(double measuredDepth, do
computeRangesAndLocations();
computeRotationAngles();
computeSubLateralIndices();
}
//--------------------------------------------------------------------------------------------------
@@ -275,8 +274,7 @@ void RimFishbonesMultipleSubs::fieldChangedByUi(const caf::PdmFieldHandle* chang
computeRotationAngles();
}
if (recomputeLocations ||
changedField == &m_locationOfSubs ||
if (changedField == &m_locationOfSubs ||
changedField == &m_lateralInstallSuccessFraction ||
changedField == &m_lateralCountPerSub)
{
@@ -338,6 +336,7 @@ void RimFishbonesMultipleSubs::computeRangesAndLocations()
RimFishbonesCollection* collection;
this->firstAncestorOrThisOfTypeAsserted(collection);
computeSubLateralIndices();
collection->recalculateStartMD();
}