From: azv Date: Wed, 29 Mar 2017 14:08:34 +0000 (+0300) Subject: Sketch with the Fixed constraints only should be processed as usual sketch X-Git-Tag: V_2.7.0~143 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e20a4ec83c24222f7a3b159111f15e87bce6370f;p=modules%2Fshaper.git Sketch with the Fixed constraints only should be processed as usual sketch --- 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();