Sketcher: UI Copy/Clone as a single dropdown toolbar icon

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

This commit provides with a single toolbar button to select between a copy and clone.

Copy just copies the constraints.
Clone modifies the dimensional constraints to geometric constraints, so that the constrained geometry follows the changes in the original object.
This commit is contained in:
Abdullah Tahiri
2015-08-15 08:05:36 +02:00
committed by wmayer
parent 3ec90116f1
commit 2cb29df152
4 changed files with 484 additions and 28 deletions

View File

@@ -247,6 +247,7 @@ inline void SketcherAddWorkbenchTools<Gui::MenuItem>(Gui::MenuItem& consaccel){
<< "Sketcher_SelectElementsAssociatedWithConstraints"
<< "Sketcher_RestoreInternalAlignmentGeometry"
<< "Sketcher_Symmetry"
<< "Sketcher_Clone"
<< "Sketcher_Copy"
<< "Sketcher_RectangularArray";
@@ -258,7 +259,7 @@ inline void SketcherAddWorkbenchTools<Gui::ToolBarItem>(Gui::ToolBarItem& consac
<< "Sketcher_SelectConstraints"
<< "Sketcher_RestoreInternalAlignmentGeometry"
<< "Sketcher_Symmetry"
<< "Sketcher_Copy"
<< "Sketcher_CompCopy"
<< "Sketcher_RectangularArray";
}