From: nds Date: Tue, 22 Dec 2015 10:40:29 +0000 (+0300) Subject: 2D point selection in multi-rotation/multi-translation. X-Git-Tag: V_2.1.0~110 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=70a8a30e7128354738336a054c1905397090f792;p=modules%2Fshaper.git 2D point selection in multi-rotation/multi-translation. It seems that this modification is excessive. --- diff --git a/src/SketchSolver/SketchSolver_ConstraintMultiTranslation.cpp b/src/SketchSolver/SketchSolver_ConstraintMultiTranslation.cpp index d5a08f069..5d0b01931 100644 --- a/src/SketchSolver/SketchSolver_ConstraintMultiTranslation.cpp +++ b/src/SketchSolver/SketchSolver_ConstraintMultiTranslation.cpp @@ -51,8 +51,6 @@ void SketchSolver_ConstraintMultiTranslation::process() AttributeStringPtr aMethodTypeAttr = myBaseConstraint->data()->string(SketchPlugin_MultiTranslation::VALUE_TYPE()); - myIsFullValue = aMethodTypeAttr->value() != "SingleValue"; - BuilderPtr aBuilder = SketchSolver_Manager::instance()->builder(); std::list aTransConstraints; @@ -64,9 +62,6 @@ void SketchSolver_ConstraintMultiTranslation::process() 0.0, aFullValue, aStartPoint, aEndPoint, *anEntIt); aTransConstraints.insert(aTransConstraints.end(), aNewConstraints.begin(), aNewConstraints.end()); } - std::list::iterator aTCIt = aTransConstraints.begin(); - for (; aTCIt != aTransConstraints.end(); ++ aTCIt) - (*aTCIt)->setIsFullValue(myIsFullValue); myStorage->addConstraint(myBaseConstraint, aTransConstraints);