#4497 Fishbones : Set default fishbones to use spacing

This commit is contained in:
Magne Sjaastad 2019-06-20 12:01:00 +02:00
parent c1b9738298
commit cf00cb4809

View File

@ -152,7 +152,7 @@ QString RimFishbonesMultipleSubs::generatedName() const
void RimFishbonesMultipleSubs::setMeasuredDepthAndCount(double startMD, double spacing, int subCount)
{
double endMD = startMD + spacing * subCount;
m_valveLocations->initFields(RimMultipleValveLocations::VALVE_COUNT, startMD, endMD, spacing, subCount, {});
m_valveLocations->initFields(RimMultipleValveLocations::VALVE_SPACING, startMD, endMD, spacing, subCount, {});
computeRangesAndLocations();
computeRotationAngles();