Sketcher_Dimension : Turn the command into a group-command to have at hand individual commands.

This commit is contained in:
Paddle
2023-08-31 18:31:46 +02:00
committed by Chris Hennes
parent 49e83787ef
commit d74e67336e
3 changed files with 79 additions and 3 deletions

View File

@@ -441,7 +441,12 @@ inline void SketcherAddWorkbenchConstraints<Gui::ToolBarItem>(Gui::ToolBarItem&
<< "Sketcher_ConstrainBlock"
<< "Separator";
if (hGrp->GetBool("SingleDimensioningTool", true)) {
cons << "Sketcher_Dimension";
if (! hGrp->GetBool("SeparatedDimensioningTools", false)) {
cons << "Sketcher_CompDimensionTools";
}
else {
cons << "Sketcher_Dimension";
}
}
if (hGrp->GetBool("SeparatedDimensioningTools", false)) {
cons << "Sketcher_ConstrainLock"