]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix a bug with selection for editing of different points of the same feature (sketche...
authorvsv <vsv@opencascade.com>
Tue, 21 Jan 2020 15:59:30 +0000 (18:59 +0300)
committervsv <vsv@opencascade.com>
Tue, 21 Jan 2020 15:59:30 +0000 (18:59 +0300)
src/PartSet/PartSet_SketcherMgr.cpp

index 04eec8924b645af9773179e1cbf603f628cf57aa..b230b6dd6a1cbd427aff033d37238ced312ad460 100644 (file)
@@ -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();