From 0d1eec88a373747e11ac5c3bc5400e9c8642c7b7 Mon Sep 17 00:00:00 2001 From: nds Date: Mon, 9 Nov 2015 16:14:40 +0300 Subject: [PATCH] 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. --- src/PartSet/PartSet_SketcherMgr.cpp | 1 + 1 file changed, 1 insertion(+) 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(); } -- 2.39.2