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
This commit is contained in:
Abdullah Tahiri
2018-12-17 16:44:21 +01:00
committed by wmayer
parent e72398c48c
commit f2b67883c9

View File

@@ -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";