From e20a4ec83c24222f7a3b159111f15e87bce6370f Mon Sep 17 00:00:00 2001 From: azv Date: Wed, 29 Mar 2017 17:08:34 +0300 Subject: [PATCH] Sketch with the Fixed constraints only should be processed as usual sketch --- src/SketchSolver/SketchSolver_Group.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/SketchSolver/SketchSolver_Group.cpp b/src/SketchSolver/SketchSolver_Group.cpp index c02c9a6d0..329f6f84c 100644 --- a/src/SketchSolver/SketchSolver_Group.cpp +++ b/src/SketchSolver/SketchSolver_Group.cpp @@ -210,17 +210,6 @@ bool SketchSolver_Group::resolveConstraints() } aResolved = true; - } else if (!isGroupEmpty) { - // Check if the group contains only constraints Fixed, update parameters by stored values - aResolved = true; - ConstraintConstraintMap::iterator aCIt = myConstraints.begin(); - for (; aCIt != myConstraints.end(); ++aCIt) - if (aCIt->first->getKind() != SketchPlugin_ConstraintRigid::ID()) { - aResolved = false; - break; - } - if (aCIt == myConstraints.end()) - myStorage->refresh(); } else if (isGroupEmpty && isWorkplaneValid()) computeDoF(); removeTemporaryConstraints(); -- 2.39.2