add option to disable approximation of splines when creating curve on mesh
This commit is contained in:
@@ -81,6 +81,7 @@ void CurveOnMeshWidget::changeEvent(QEvent *e)
|
||||
void CurveOnMeshWidget::on_startButton_clicked()
|
||||
{
|
||||
int cont = ui->continuity->itemData(ui->continuity->currentIndex()).toInt();
|
||||
myCurveHandler->enableApproximation(ui->groupBox_2->isChecked());
|
||||
myCurveHandler->setParameters(ui->maxDegree->currentIndex(),
|
||||
static_cast<GeomAbs_Shape>(cont),
|
||||
ui->meshTolerance->value(),
|
||||
@@ -90,6 +91,7 @@ void CurveOnMeshWidget::on_startButton_clicked()
|
||||
|
||||
void CurveOnMeshWidget::reject()
|
||||
{
|
||||
myCurveHandler->recomputeDocument();
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user