From 578f38de3141dd39875ec6f0f32eec57b994c59f Mon Sep 17 00:00:00 2001 From: azv Date: Fri, 25 Jul 2014 11:41:27 +0400 Subject: [PATCH] Regression in coincidence constraint --- src/SketchSolver/SketchSolver_Constraint.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/SketchSolver/SketchSolver_Constraint.cpp b/src/SketchSolver/SketchSolver_Constraint.cpp index f831c170b..e44e1390b 100644 --- a/src/SketchSolver/SketchSolver_Constraint.cpp +++ b/src/SketchSolver/SketchSolver_Constraint.cpp @@ -81,6 +81,7 @@ const int& SketchSolver_Constraint::getType(boost::shared_ptr anAttr = theConstraint->data()->attribute(SketchPlugin_Constraint::ATTRIBUTE(indAttr)); + if (!anAttr) continue; switch (typeOfAttribute(anAttr)) { case POINT2D: // the attribute is a 2D point -- 2.39.2