From 541c853798c46590dd0de4d26ec0c8f9a88e8745 Mon Sep 17 00:00:00 2001 From: azv Date: Wed, 8 Jun 2016 16:58:55 +0300 Subject: [PATCH] Remove obsolete code in Mirror constraint --- src/SketchSolver/SketchSolver_ConstraintMirror.cpp | 6 ------ 1 file changed, 6 deletions(-) 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(); } -- 2.39.2