]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Remove obsolete code in Mirror constraint
authorazv <azv@opencascade.com>
Wed, 8 Jun 2016 13:58:55 +0000 (16:58 +0300)
committerazv <azv@opencascade.com>
Wed, 8 Jun 2016 13:58:55 +0000 (16:58 +0300)
src/SketchSolver/SketchSolver_ConstraintMirror.cpp

index db638723787883b1753c310ae966928b86475a4a..7fe5608732b41f9d44dbd9c8695398a20f287a2c 100644 (file)
@@ -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<EntityWrapperPtr>::iterator aMirIt = theMirrorEntities.begin();
-  for (; aMirIt != theMirrorEntities.end(); ++aMirIt)
-    (*aMirIt)->setGroup(myGroupID);
-
   if (theBaseEntities.size() > theMirrorEntities.size())
     myErrorMsg = SketchSolver_Error::NOT_INITIALIZED();
 }