]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Internal edit is in the same transaction as the previous create. BR_REENTRANCE_OPERATION
authornds <nds@opencascade.com>
Mon, 9 Nov 2015 10:51:28 +0000 (13:51 +0300)
committernds <nds@opencascade.com>
Mon, 9 Nov 2015 10:51:28 +0000 (13:51 +0300)
src/PartSet/PartSet_SketcherReetntrantMgr.cpp

index 852391336680909ea8cf7aa12c07ad6705c51053..abde2a78b8547ba48a92e7d2fb6ed18a7cc02346 100755 (executable)
@@ -272,7 +272,7 @@ bool PartSet_SketcherReetntrantMgr::startInternalEdit(const std::string& thePrev
                                                      (myWorkshop->currentOperation());
 
   if (aFOperation && PartSet_SketcherMgr::isNestedSketchOperation(aFOperation)) {
-    aFOperation->setEditOperation(true);
+    aFOperation->setEditOperation(false);
     workshop()->operationMgr()->updateApplyOfOperations();
 
     createInternalFeature();
@@ -340,7 +340,6 @@ void PartSet_SketcherReetntrantMgr::createInternalFeature()
                                                      (myWorkshop->currentOperation());
 
   if (aFOperation && PartSet_SketcherMgr::isNestedSketchOperation(aFOperation)) {
-    aFOperation->setEditOperation(true);
     FeaturePtr anOperationFeature = aFOperation->feature();
 
     CompositeFeaturePtr aSketch = module()->sketchMgr()->activeSketch();