From 9fba505e84aa931be7dc03492ac2ec90a9b3daba Mon Sep 17 00:00:00 2001 From: SparkyCola Date: Mon, 9 Oct 2017 02:43:24 +0200 Subject: [PATCH] fixed touch-selection of circle and ellipse centerpoints not working --- src/Mod/Sketcher/Gui/ViewProviderSketch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Sketcher/Gui/ViewProviderSketch.cpp b/src/Mod/Sketcher/Gui/ViewProviderSketch.cpp index af969b9a2d..bd592f085b 100644 --- a/src/Mod/Sketcher/Gui/ViewProviderSketch.cpp +++ b/src/Mod/Sketcher/Gui/ViewProviderSketch.cpp @@ -2071,7 +2071,7 @@ void ViewProviderSketch::doBoxSelection(const SbVec2s &startPos, const SbVec2s & pnt0 = proj(pnt0); if (polygon.Contains(Base::Vector2d(pnt0.x, pnt0.y)) || touchMode) { - if(!touchMode || polygon.Contains(Base::Vector2d(pnt0.x, pnt0.y)){ + if(!touchMode || polygon.Contains(Base::Vector2d(pnt0.x, pnt0.y))){ std::stringstream ss; ss << "Vertex" << VertexId + 1; Gui::Selection().addSelection(doc->getName(), sketchObject->getNameInDocument(), ss.str().c_str());