From 70a8a30e7128354738336a054c1905397090f792 Mon Sep 17 00:00:00 2001 From: nds Date: Tue, 22 Dec 2015 13:40:29 +0300 Subject: [PATCH] 2D point selection in multi-rotation/multi-translation. It seems that this modification is excessive. --- src/SketchSolver/SketchSolver_ConstraintMultiTranslation.cpp | 5 ----- 1 file changed, 5 deletions(-) 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); -- 2.39.2