From 0ec53b6499b0fee9d8e63a3c744dd417e46fcfdf Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Tue, 20 Dec 2016 17:08:28 +0200 Subject: [PATCH] Operation tools should control an elliptical arc. --HG-- branch : develop --- src/libs/vtools/dialogs/tools/dialogflippingbyaxis.cpp | 2 ++ src/libs/vtools/dialogs/tools/dialogflippingbyline.cpp | 2 ++ src/libs/vtools/dialogs/tools/dialogmove.cpp | 2 ++ src/libs/vtools/dialogs/tools/dialogrotation.cpp | 2 ++ 4 files changed, 8 insertions(+) diff --git a/src/libs/vtools/dialogs/tools/dialogflippingbyaxis.cpp b/src/libs/vtools/dialogs/tools/dialogflippingbyaxis.cpp index f5d60d6da..2939be0ad 100644 --- a/src/libs/vtools/dialogs/tools/dialogflippingbyaxis.cpp +++ b/src/libs/vtools/dialogs/tools/dialogflippingbyaxis.cpp @@ -166,10 +166,12 @@ void DialogFlippingByAxis::ShowDialog(bool click) operation->VisualMode(); scene->ToggleArcSelection(false); + scene->ToggleElArcSelection(false); scene->ToggleSplineSelection(false); scene->ToggleSplinePathSelection(false); scene->ToggleArcHover(false); + scene->ToggleElArcHover(false); scene->ToggleSplineHover(false); scene->ToggleSplinePathHover(false); diff --git a/src/libs/vtools/dialogs/tools/dialogflippingbyline.cpp b/src/libs/vtools/dialogs/tools/dialogflippingbyline.cpp index 0fc11f2cb..3565eea83 100644 --- a/src/libs/vtools/dialogs/tools/dialogflippingbyline.cpp +++ b/src/libs/vtools/dialogs/tools/dialogflippingbyline.cpp @@ -165,10 +165,12 @@ void DialogFlippingByLine::ShowDialog(bool click) operation->VisualMode(); scene->ToggleArcSelection(false); + scene->ToggleElArcSelection(false); scene->ToggleSplineSelection(false); scene->ToggleSplinePathSelection(false); scene->ToggleArcHover(false); + scene->ToggleElArcHover(false); scene->ToggleSplineHover(false); scene->ToggleSplinePathHover(false); diff --git a/src/libs/vtools/dialogs/tools/dialogmove.cpp b/src/libs/vtools/dialogs/tools/dialogmove.cpp index 0a1960da8..9ed45b505 100644 --- a/src/libs/vtools/dialogs/tools/dialogmove.cpp +++ b/src/libs/vtools/dialogs/tools/dialogmove.cpp @@ -213,10 +213,12 @@ void DialogMove::ShowDialog(bool click) connect(operation, &VisToolMove::ToolTip, window, &VAbstractMainWindow::ShowToolTip); scene->ToggleArcSelection(false); + scene->ToggleElArcSelection(false); scene->ToggleSplineSelection(false); scene->ToggleSplinePathSelection(false); scene->ToggleArcHover(false); + scene->ToggleElArcHover(false); scene->ToggleSplineHover(false); scene->ToggleSplinePathHover(false); } diff --git a/src/libs/vtools/dialogs/tools/dialogrotation.cpp b/src/libs/vtools/dialogs/tools/dialogrotation.cpp index 9ba34bdc9..4e7a6bb2f 100644 --- a/src/libs/vtools/dialogs/tools/dialogrotation.cpp +++ b/src/libs/vtools/dialogs/tools/dialogrotation.cpp @@ -190,10 +190,12 @@ void DialogRotation::ShowDialog(bool click) operation->VisualMode(); scene->ToggleArcSelection(false); + scene->ToggleElArcSelection(false); scene->ToggleSplineSelection(false); scene->ToggleSplinePathSelection(false); scene->ToggleArcHover(false); + scene->ToggleElArcHover(false); scene->ToggleSplineHover(false); scene->ToggleSplinePathHover(false);