From 7ac62ed656e4a6593ff8a314c715eeefe3a81bb6 Mon Sep 17 00:00:00 2001 From: nds Date: Mon, 9 Nov 2015 13:51:28 +0300 Subject: [PATCH] Internal edit is in the same transaction as the previous create. --- src/PartSet/PartSet_SketcherReetntrantMgr.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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(); -- 2.39.2