From: azv Date: Mon, 2 Jun 2014 08:09:44 +0000 (+0400) Subject: Problem with blinking segment during feature movement X-Git-Tag: V_0.4.4~331^2~3^2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cbdf42425857eb37a593524b9103f0d90cf2a526;p=modules%2Fshaper.git Problem with blinking segment during feature movement Crash in aborting operation --- diff --git a/src/SketchSolver/SketchSolver_ConstraintGroup.cpp b/src/SketchSolver/SketchSolver_ConstraintGroup.cpp index ce1d5f87e..7c0bd3784 100644 --- a/src/SketchSolver/SketchSolver_ConstraintGroup.cpp +++ b/src/SketchSolver/SketchSolver_ConstraintGroup.cpp @@ -656,10 +656,11 @@ void SketchSolver_ConstraintGroup::splitGroup(std::vectorinsert(aConstrEnt[i]); - aGroupsConstr[aGrEntIter - aGroupsEntities.begin()].insert(aConstrIter->h); + aGroupsConstr[anIndexes.front()].insert(aConstrIter->h); if (aGrEntIter->size() > aGroupsEntities[aMaxNbEntities].size()) aMaxNbEntities = aGrEntIter - aGroupsEntities.begin(); }