X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchSolver%2FSketchSolver_Storage.cpp;h=58cd67418755730d3f169b6bdde4c3f020c8db65;hb=6b82f436079f958ed743771a9ae91a7fd99b632e;hp=4ed2112e4b81b999181e35b5be337f94597e7436;hpb=3cd382f1c89077d73b712975a277a9fb21732fd9;p=modules%2Fshaper.git diff --git a/src/SketchSolver/SketchSolver_Storage.cpp b/src/SketchSolver/SketchSolver_Storage.cpp index 4ed2112e4..58cd67418 100644 --- a/src/SketchSolver/SketchSolver_Storage.cpp +++ b/src/SketchSolver/SketchSolver_Storage.cpp @@ -371,6 +371,14 @@ bool SketchSolver_Storage::isPointFixed( break; } + // Check whether one of coincident points is out-of-group + std::set::const_iterator aCoincIt = aCoincident.begin(); + for (; aCoincIt != aCoincident.end(); ++aCoincIt) { + Slvs_Entity aPoint = getEntity(*aCoincIt); + if (aPoint.group == SLVS_G_OUTOFGROUP) + return true; + } + // Search the Rigid constraint theFixed = SLVS_C_UNKNOWN; std::vector::const_iterator aConstrIter = myConstraints.begin();