From: nds Date: Mon, 9 Nov 2015 13:14:40 +0000 (+0300) Subject: Internal edit launch: clear cashed viewer flags in sketch manager X-Git-Tag: V_2.0.0_alfa1~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0d1eec88a373747e11ac5c3bc5400e9c8642c7b7;p=modules%2Fshaper.git Internal edit launch: clear cashed viewer flags in sketch manager Undo Erroneous scenario: create line, click 1st, click 2nd. Internal edit is started, input another value, Sift +Tab to input the previous point value. The result is that point is changed by previous click position. --- diff --git a/src/PartSet/PartSet_SketcherMgr.cpp b/src/PartSet/PartSet_SketcherMgr.cpp index fee888118..8ec4326d0 100755 --- a/src/PartSet/PartSet_SketcherMgr.cpp +++ b/src/PartSet/PartSet_SketcherMgr.cpp @@ -721,6 +721,7 @@ QString PartSet_SketcherMgr::getFeatureError(const FeaturePtr& theFeature, const void PartSet_SketcherMgr::clearClickedFlags() { + return; myClickedPoint.clear(); myCurrentPoint.clear(); }