Salome HOME
Open document problem is corrected: after opening a document, all default filters...
[modules/shaper.git] / src / PartSet / PartSet_SketcherReentrantMgr.cpp
index c5a4e3cb1b5919da873604ff8f623e1ca257c5a9..5c4e1025735e16677eea0035593e502550291822 100644 (file)
@@ -486,6 +486,10 @@ bool PartSet_SketcherReentrantMgr::startInternalEdit(const std::string& thePrevi
                                                      (myWorkshop->currentOperation());
 
   if (aFOperation && module()->sketchMgr()->isNestedSketchOperation(aFOperation)) {
+    /// improvement to deselect automatically all eventual selected objects, when
+    // returning to the neutral point of the Sketcher or start internal edit
+    workshop()->selector()->clearSelection();
+
     aFOperation->setEditOperation(true/*, false*/);
     createInternalFeature();