From: azv Date: Wed, 8 Jun 2016 13:58:55 +0000 (+0300) Subject: Remove obsolete code in Mirror constraint X-Git-Tag: V_2.4.0~124 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=541c853798c46590dd0de4d26ec0c8f9a88e8745;p=modules%2Fshaper.git Remove obsolete code in Mirror constraint --- diff --git a/src/SketchSolver/SketchSolver_ConstraintMirror.cpp b/src/SketchSolver/SketchSolver_ConstraintMirror.cpp index db6387237..7fe560873 100644 --- a/src/SketchSolver/SketchSolver_ConstraintMirror.cpp +++ b/src/SketchSolver/SketchSolver_ConstraintMirror.cpp @@ -50,12 +50,6 @@ void SketchSolver_ConstraintMirror::getAttributes( } } - // Mirrored entities are placed out-of-group by default, due to they are copies. - // Place them into current group manually. - std::vector::iterator aMirIt = theMirrorEntities.begin(); - for (; aMirIt != theMirrorEntities.end(); ++aMirIt) - (*aMirIt)->setGroup(myGroupID); - if (theBaseEntities.size() > theMirrorEntities.size()) myErrorMsg = SketchSolver_Error::NOT_INITIALIZED(); }