]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
refs #196 - visualize a constraint distance presentation in case of invalid value.
authornds <natalia.donis@opencascade.com>
Mon, 10 Nov 2014 13:50:39 +0000 (16:50 +0300)
committernds <natalia.donis@opencascade.com>
Mon, 10 Nov 2014 13:50:39 +0000 (16:50 +0300)
src/SketchPlugin/SketchPlugin_ConstraintDistance.cpp

index 23c8b546c05bfd6df2a3ce56f7fab5b315794a0d..89faf4208935b55f52961b8be9a7534d0663aa1a 100644 (file)
@@ -132,7 +132,7 @@ void SketchPlugin_ConstraintDistance::move(double theDeltaX, double theDeltaY)
   aPoint->move(theDeltaX, theDeltaY);
 }
 
-double SketchPlugin_ConstraintDistance::calculateCurrentDistance()
+double SketchPlugin_ConstraintDistance::calculateCurrentDistance() const
 {
   double aDistance = -1.;