]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Edit arc by dragging
authorvsv <vitaly.smetannikov@opencascade.com>
Sat, 27 Dec 2014 09:29:12 +0000 (12:29 +0300)
committervsv <vitaly.smetannikov@opencascade.com>
Sat, 27 Dec 2014 09:29:12 +0000 (12:29 +0300)
src/PartSet/PartSet_SketcherMgr.cpp

index f9c1eb3fd217b1fb1d440803f63097b3d68de2ef..9f99ed79d87bb5c5ad1986158bdf5157a3f7096c 100644 (file)
@@ -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();