From f2b67883c95d871223e77d1c74d535cc688ecf5b Mon Sep 17 00:00:00 2001 From: Abdullah Tahiri Date: Mon, 17 Dec 2018 16:44:21 +0100 Subject: [PATCH] Sketcher: Respect general autoconstraints setting on sketch creation ==================================================================== fixes #3727 https://www.freecadweb.org/tracker/view.php?id=3727 https://forum.freecadweb.org/viewtopic.php?f=3&t=32761 --- src/Mod/Sketcher/Gui/ViewProviderSketch.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Mod/Sketcher/Gui/ViewProviderSketch.cpp b/src/Mod/Sketcher/Gui/ViewProviderSketch.cpp index 23bcaa5fa4..9520780a46 100644 --- a/src/Mod/Sketcher/Gui/ViewProviderSketch.cpp +++ b/src/Mod/Sketcher/Gui/ViewProviderSketch.cpp @@ -298,6 +298,9 @@ ViewProviderSketch::ViewProviderSketch() this->ShowLinks.setValue(hGrp->GetBool("ShowLinks", true)); this->ShowSupport.setValue(hGrp->GetBool("ShowSupport", true)); this->RestoreCamera.setValue(hGrp->GetBool("RestoreCamera", true)); + + // well it is not visibility automation but a good place nevertheless + this->Autoconstraints.setValue(hGrp->GetBool("AutoConstraints",false)); } sPixmap = "Sketcher_Sketch";