From c13fdea99faaf3ff6368bcb1913433d4c97a8922 Mon Sep 17 00:00:00 2001 From: nds Date: Tue, 3 Nov 2015 12:31:38 +0300 Subject: [PATCH] Enter processing is corrected according to modifications from Dev_1.5.0 (from BR_POSTPONED_PREVIEW) --- src/PartSet/PartSet_SketcherReetntrantMgr.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/PartSet/PartSet_SketcherReetntrantMgr.cpp b/src/PartSet/PartSet_SketcherReetntrantMgr.cpp index a5ae29b26..6e40f33b3 100755 --- a/src/PartSet/PartSet_SketcherReetntrantMgr.cpp +++ b/src/PartSet/PartSet_SketcherReetntrantMgr.cpp @@ -238,17 +238,15 @@ void PartSet_SketcherReetntrantMgr::onVertexSelected() void PartSet_SketcherReetntrantMgr::onBeforeStopped() { + if (!isActiveMgr() || !myIsInternalEditOperation) + return; + ModuleBase_OperationFeature* aFOperation = dynamic_cast (myWorkshop->currentOperation()); if (aFOperation) { disconnect(aFOperation, SIGNAL(beforeCommitted()), this, SLOT(onBeforeStopped())); disconnect(aFOperation, SIGNAL(beforeAborted()), this, SLOT(onBeforeStopped())); } - if (!isActiveMgr()) - return; - - if (!myIsInternalEditOperation) - return; PartSet_Module* aModule = module(); ModuleBase_ModelWidget* aFirstWidget = aModule->activeWidget(); -- 2.39.2