From: nds Date: Mon, 15 Feb 2016 06:37:04 +0000 (+0300) Subject: using the previous type of Circle/Arc during reentrant operation. Crash correction X-Git-Tag: V_2.2.0~123 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=39c2b60187cf43d0ec0bd4740bc89f81c408db65;p=modules%2Fshaper.git using the previous type of Circle/Arc during reentrant operation. Crash correction --- 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();