]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
using the previous type of Circle/Arc during reentrant operation. Crash correction
authornds <nds@opencascade.com>
Mon, 15 Feb 2016 06:37:04 +0000 (09:37 +0300)
committerdbv <dbv@opencascade.com>
Tue, 16 Feb 2016 14:04:46 +0000 (17:04 +0300)
src/PartSet/PartSet_SketcherReetntrantMgr.cpp

index 93f706d46847589a70430d358b5daa5410363021..d37adaf443968be01f585f15ec45e6fc5fa3055b 100755 (executable)
@@ -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();