diff --git a/src/Mod/Sketcher/Gui/TaskSketcherValidation.cpp b/src/Mod/Sketcher/Gui/TaskSketcherValidation.cpp index b67ab21ff3..378ebf5d7c 100644 --- a/src/Mod/Sketcher/Gui/TaskSketcherValidation.cpp +++ b/src/Mod/Sketcher/Gui/TaskSketcherValidation.cpp @@ -70,6 +70,7 @@ SketcherValidation::SketcherValidation(Sketcher::SketchObject* Obj, QWidget* par ui->fixButton->setEnabled(false); ui->fixConstraint->setEnabled(false); ui->swapReversed->setEnabled(false); + ui->checkBoxIgnoreConstruction->setEnabled(true); double tolerances[8] = { Precision::Confusion() / 100, Precision::Confusion() / 10, @@ -180,7 +181,7 @@ void SketcherValidation::on_findButton_clicked() for (std::size_t i=0; iConstruction) + if(g->Construction && ui->checkBoxIgnoreConstruction->isChecked()) continue; if (g->getTypeId() == Part::GeomLineSegment::getClassTypeId()) { diff --git a/src/Mod/Sketcher/Gui/TaskSketcherValidation.ui b/src/Mod/Sketcher/Gui/TaskSketcherValidation.ui index 3a4f01be82..2e22ca0fef 100644 --- a/src/Mod/Sketcher/Gui/TaskSketcherValidation.ui +++ b/src/Mod/Sketcher/Gui/TaskSketcherValidation.ui @@ -6,8 +6,8 @@ 0 0 - 242 - 423 + 311 + 453 @@ -57,7 +57,7 @@ - + Fix @@ -67,20 +67,30 @@ - + Find - + Highlight open vertexes + + + + Ignore construction geometry + + + true + + +