From ddc11eb541afcc2fdcba898df6e4baa4599e6731 Mon Sep 17 00:00:00 2001 From: nds Date: Mon, 15 Feb 2016 09:37:04 +0300 Subject: [PATCH] using the previous type of Circle/Arc during reentrant operation. Crash correction --- src/PartSet/PartSet_SketcherReetntrantMgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PartSet/PartSet_SketcherReetntrantMgr.cpp b/src/PartSet/PartSet_SketcherReetntrantMgr.cpp index 93f706d46..d37adaf44 100755 --- a/src/PartSet/PartSet_SketcherReetntrantMgr.cpp +++ b/src/PartSet/PartSet_SketcherReetntrantMgr.cpp @@ -421,7 +421,7 @@ void PartSet_SketcherReetntrantMgr::restartOperation() bool PartSet_SketcherReetntrantMgr::copyReetntrantAttributes(const FeaturePtr& theSourceFeature, const FeaturePtr& theNewFeature) { - bool aChanged; + bool aChanged = false; std::string aTypeAttributeId; if (theSourceFeature->getKind() == SketchPlugin_Circle::ID()) { aTypeAttributeId = SketchPlugin_Circle::CIRCLE_TYPE(); -- 2.39.2