From: nds Date: Mon, 9 Nov 2015 10:51:28 +0000 (+0300) Subject: Internal edit is in the same transaction as the previous create. X-Git-Tag: V_2.0.0_alfa1~6^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7ac62ed656e4a6593ff8a314c715eeefe3a81bb6;p=modules%2Fshaper.git Internal edit is in the same transaction as the previous create. --- diff --git a/src/PartSet/PartSet_SketcherReetntrantMgr.cpp b/src/PartSet/PartSet_SketcherReetntrantMgr.cpp index 852391336..abde2a78b 100755 --- a/src/PartSet/PartSet_SketcherReetntrantMgr.cpp +++ b/src/PartSet/PartSet_SketcherReetntrantMgr.cpp @@ -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();