PD: Fix assignment of Angle/Growth properties

Depending on the input mode, either `Growth` or `Angle` is used to create
a conical or flat spiral. The respective other can easily be calculated
to give consistent view. This is already done for the other properties,
e.g. `Height` is calculated from `Pitch` and `Turns`.
With this patch, the same is done for `Angle` and `Growth`.
This commit is contained in:
Jonas Bähr
2021-12-12 18:08:13 +01:00
committed by Uwe
parent 11822b8c5c
commit bb3d02298d
2 changed files with 15 additions and 0 deletions

View File

@@ -475,6 +475,8 @@ void TaskHelixParameters::onModeChanged(int index)
ui->pitch->setValue(propPitch->getValue());
ui->height->setValue(propHeight->getValue());
ui->turns->setValue(propTurns->getValue());
ui->coneAngle->setValue(propAngle->getValue());
ui->growth->setValue(propGrowth->getValue());
recomputeFeature();
updateUI();