]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #1343. Improvement of Extrusion and Revolution operations: Bug correction:...
authornds <nds@opencascade.com>
Mon, 4 Apr 2016 05:19:54 +0000 (08:19 +0300)
committerdbv <dbv@opencascade.com>
Wed, 6 Apr 2016 10:25:16 +0000 (13:25 +0300)
src/PartSet/PartSet_WidgetSketchCreator.cpp

index 91093ed8e88ed2cc57467e3e6239e927c3ce8f36..d7130e5f6a83f60676be210f6faf6819c41969f7 100644 (file)
@@ -328,6 +328,11 @@ bool PartSet_WidgetSketchCreator::focusTo()
 {
   if (isSelectionMode()) {
     activateSelectionControl();
+
+    SessionPtr aMgr = ModelAPI_Session::get();
+    bool aIsOp = aMgr->isOperation();
+    if (!aIsOp)
+      aMgr->startOperation(myFeature->getKind());
     return true;
   }
   else {