From d42e1923aa76013ab0ac991136c2d0e2a7310f14 Mon Sep 17 00:00:00 2001 From: azv Date: Thu, 27 Dec 2018 10:26:54 +0300 Subject: [PATCH] Issue #2810: crash creating arc fillet Fix additional crash on Debian due to non-initialized boolean fields. --- src/SketchPlugin/SketchPlugin_Fillet.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/SketchPlugin/SketchPlugin_Fillet.cpp b/src/SketchPlugin/SketchPlugin_Fillet.cpp index 852d006e5..7503f7536 100644 --- a/src/SketchPlugin/SketchPlugin_Fillet.cpp +++ b/src/SketchPlugin/SketchPlugin_Fillet.cpp @@ -82,8 +82,9 @@ static std::set 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() -- 2.39.2