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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user