Sketcher New Feature: Toggle Mode for Reference/Driving constraints

===================================================================

It allows to create constraints directly into Reference or Driving mode.

It does not include icons
This commit is contained in:
Abdullah Tahiri
2015-05-23 13:53:48 +02:00
committed by wmayer
parent d5ec887526
commit 765b720c48
2 changed files with 128 additions and 20 deletions

View File

@@ -204,7 +204,9 @@ inline void SketcherAddWorkbenchConstraints<Gui::MenuItem>(Gui::MenuItem& cons){
<< "Sketcher_ConstrainRadius"
<< "Sketcher_ConstrainAngle"
<< "Sketcher_ConstrainSnellsLaw"
<< "Sketcher_ConstrainInternalAlignment";
<< "Sketcher_ConstrainInternalAlignment"
<< "Separator"
<< "Sketcher_ConstraintCreationMode";
}
template <>
@@ -225,7 +227,9 @@ inline void SketcherAddWorkbenchConstraints<Gui::ToolBarItem>(Gui::ToolBarItem&
<< "Sketcher_ConstrainDistance"
<< "Sketcher_ConstrainRadius"
<< "Sketcher_ConstrainAngle"
<< "Sketcher_ConstrainSnellsLaw";
<< "Sketcher_ConstrainSnellsLaw"
<< "Separator"
<< "Sketcher_ConstraintCreationMode";
}
template <typename T>