From: vsv Date: Sat, 27 Dec 2014 09:29:12 +0000 (+0300) Subject: Edit arc by dragging X-Git-Tag: V_0.7.0_rc1~30^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9cea92b08d17ed1cb784b7ed774b947d03a348e1;p=modules%2Fshaper.git Edit arc by dragging --- 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();