]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
A correction for a regression with the distance constraint move.
authornds <natalia.donis@opencascade.com>
Thu, 6 Nov 2014 07:26:00 +0000 (10:26 +0300)
committernds <natalia.donis@opencascade.com>
Thu, 6 Nov 2014 07:26:00 +0000 (10:26 +0300)
src/SketchPlugin/SketchPlugin_ConstraintDistance.cpp

index 031a3b98b7a08107a74fc85e088c80a403430f11..2e22f0c3214f7db006b79531e8ffcadb27f3bb34 100644 (file)
@@ -145,7 +145,7 @@ void SketchPlugin_ConstraintDistance::move(double theDeltaX, double theDeltaY)
 
   boost::shared_ptr<GeomDataAPI_Point2D> aPoint = boost::dynamic_pointer_cast<GeomDataAPI_Point2D>(
       aData->attribute(SketchPlugin_Constraint::FLYOUT_VALUE_PNT()));
-  aPoint->setValue(theDeltaX, theDeltaY);
+  aPoint->move(theDeltaX, theDeltaY);
 }
 
 //*************************************************************************************