X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPartSet%2FPartSet_OperationSketchLine.cpp;h=45121e28572def4a10d6d9e359799b8ca74d58f5;hb=3ccd62a2eedaf895c689d77ab4bfc698a592870e;hp=6da4b71f5d25eb55a06da55d251f2cb08247635b;hpb=8a06105dc8734fbb1c3ac5b81257d63e70c9d7d2;p=modules%2Fshaper.git diff --git a/src/PartSet/PartSet_OperationSketchLine.cpp b/src/PartSet/PartSet_OperationSketchLine.cpp index 6da4b71f5..45121e285 100644 --- a/src/PartSet/PartSet_OperationSketchLine.cpp +++ b/src/PartSet/PartSet_OperationSketchLine.cpp @@ -49,7 +49,7 @@ void PartSet_OperationSketchLine::mouseReleased(const gp_Pnt& thePoint) break; case SM_SecondPoint: { setLinePoint(thePoint, LINE_ATTR_END); - commit(); + myPointSelectionMode = SM_None; } break; case SM_None: { @@ -83,7 +83,6 @@ void PartSet_OperationSketchLine::startOperation() void PartSet_OperationSketchLine::stopOperation() { PartSet_OperationSketchBase::stopOperation(); - myPointSelectionMode = SM_None; }