From 9cea92b08d17ed1cb784b7ed774b947d03a348e1 Mon Sep 17 00:00:00 2001 From: vsv Date: Sat, 27 Dec 2014 12:29:12 +0300 Subject: [PATCH] Edit arc by dragging --- src/PartSet/PartSet_SketcherMgr.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/PartSet/PartSet_SketcherMgr.cpp b/src/PartSet/PartSet_SketcherMgr.cpp index f9c1eb3fd..9f99ed79d 100644 --- a/src/PartSet/PartSet_SketcherMgr.cpp +++ b/src/PartSet/PartSet_SketcherMgr.cpp @@ -255,9 +255,7 @@ void PartSet_SketcherMgr::onMouseMoved(ModuleBase_IViewWindow* theWnd, QMouseEve double dX = aX - myCurX; double dY = aY - myCurY; - if ((aOperation->id().toStdString() == SketchPlugin_Line::ID()) && - (myEditingAttr.size() == 1) && - myEditingAttr.first()) { + if ((myEditingAttr.size() == 1) && myEditingAttr.first()) { // probably we have prehighlighted point AttributePtr aAttr = myEditingAttr.first(); std::string aAttrId = aAttr->id(); -- 2.39.2