From 9ec7bd46507e292f5e28cc90c8ca51e4a7deabd2 Mon Sep 17 00:00:00 2001 From: Abdullah Tahiri Date: Tue, 24 Jan 2017 23:02:14 +0100 Subject: [PATCH] Sketcher: Fixing Green selection on new style constraints --- src/Mod/Sketcher/Gui/CommandConstraints.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Mod/Sketcher/Gui/CommandConstraints.cpp b/src/Mod/Sketcher/Gui/CommandConstraints.cpp index 640c5fbf7..7a8c1bb35 100644 --- a/src/Mod/Sketcher/Gui/CommandConstraints.cpp +++ b/src/Mod/Sketcher/Gui/CommandConstraints.cpp @@ -859,7 +859,7 @@ public: virtual bool pressButton(Base::Vector2d /*onSketchPos*/) { - return false; + return true; } virtual bool releaseButton(Base::Vector2d onSketchPos) @@ -934,7 +934,7 @@ public: selSeq.clear(); resetOngoingSequences(); - return false; + return true; } _tempOnSequences->insert(*token); allowedSelTypes = allowedSelTypes | (cmd->allowedSelSequences).at(*token).at(seqIndex+1); @@ -947,7 +947,7 @@ public: selFilterGate->setAllowedSelTypes(allowedSelTypes); } - return false; + return true; } protected: