From: vsv Date: Tue, 21 Jan 2020 15:59:30 +0000 (+0300) Subject: Fix a bug with selection for editing of different points of the same feature (sketche... X-Git-Tag: V9_5_0a1~67 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=93d987702fd168febf7958d447885824a3bbfc07;p=modules%2Fshaper.git Fix a bug with selection for editing of different points of the same feature (sketcher line) --- diff --git a/src/PartSet/PartSet_SketcherMgr.cpp b/src/PartSet/PartSet_SketcherMgr.cpp index 04eec8924..b230b6dd6 100644 --- a/src/PartSet/PartSet_SketcherMgr.cpp +++ b/src/PartSet/PartSet_SketcherMgr.cpp @@ -456,9 +456,10 @@ void PartSet_SketcherMgr::onMousePressed(ModuleBase_IViewWindow* theWnd, QMouseE } } } - else - isRelaunchEditing = !myCurrentSelection.contains(aSPFeature); - + else { + if (myCurrentSelection.size() > 1) + isRelaunchEditing = !myCurrentSelection.contains(aSPFeature); + } if (isRelaunchEditing) aFOperation->commit();