From: nds Date: Thu, 6 Nov 2014 07:26:00 +0000 (+0300) Subject: A correction for a regression with the distance constraint move. X-Git-Tag: V_0.5~35 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=79fc6e0c1eebb1620aa4139180515aa95f1a079f;p=modules%2Fshaper.git A correction for a regression with the distance constraint move. --- diff --git a/src/SketchPlugin/SketchPlugin_ConstraintDistance.cpp b/src/SketchPlugin/SketchPlugin_ConstraintDistance.cpp index 031a3b98b..2e22f0c32 100644 --- a/src/SketchPlugin/SketchPlugin_ConstraintDistance.cpp +++ b/src/SketchPlugin/SketchPlugin_ConstraintDistance.cpp @@ -145,7 +145,7 @@ void SketchPlugin_ConstraintDistance::move(double theDeltaX, double theDeltaY) boost::shared_ptr aPoint = boost::dynamic_pointer_cast( aData->attribute(SketchPlugin_Constraint::FLYOUT_VALUE_PNT())); - aPoint->setValue(theDeltaX, theDeltaY); + aPoint->move(theDeltaX, theDeltaY); } //*************************************************************************************