]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #2810: crash creating arc fillet
authorazv <azv@opencascade.com>
Thu, 27 Dec 2018 07:26:54 +0000 (10:26 +0300)
committerazv <azv@opencascade.com>
Thu, 27 Dec 2018 07:27:20 +0000 (10:27 +0300)
Fix additional crash on Debian due to non-initialized boolean fields.

src/SketchPlugin/SketchPlugin_Fillet.cpp

index 852d006e5b3c8969e777d6d5140fbb52b0232cd1..7503f75365558869fed8a96aba7844ff7930cea4 100644 (file)
@@ -82,8 +82,9 @@ static std::set<FeaturePtr> findFeaturesToRemove(const FeaturePtr theFeature,
                                                  const AttributePtr theAttribute);
 
 SketchPlugin_Fillet::SketchPlugin_Fillet()
-: myFilletCreated(false)
+: myFilletCreated(false), myIsReversed(false)
 {
+  myIsNotInversed[0] = myIsNotInversed[1] = true;
 }
 
 void SketchPlugin_Fillet::initAttributes()