From 8ec74007ec8d9380b89206fc553aa8bd41794465 Mon Sep 17 00:00:00 2001 From: azv Date: Mon, 7 Sep 2015 11:16:23 +0300 Subject: [PATCH] Forgotten initialization of the Distance constraint field (issue #874) --- src/SketchSolver/SketchSolver_ConstraintDistance.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/SketchSolver/SketchSolver_ConstraintDistance.h b/src/SketchSolver/SketchSolver_ConstraintDistance.h index 8c3a7ea5c..affcc34ec 100644 --- a/src/SketchSolver/SketchSolver_ConstraintDistance.h +++ b/src/SketchSolver/SketchSolver_ConstraintDistance.h @@ -18,7 +18,9 @@ class SketchSolver_ConstraintDistance : public SketchSolver_Constraint { public: SketchSolver_ConstraintDistance(ConstraintPtr theConstraint) : - SketchSolver_Constraint(theConstraint), myType(SLVS_C_UNKNOWN) + SketchSolver_Constraint(theConstraint), + myType(SLVS_C_UNKNOWN), + myIsNegative(false) {} /// \brief Update constraint -- 2.39.2