From: nds Date: Mon, 10 Nov 2014 13:50:39 +0000 (+0300) Subject: refs #196 - visualize a constraint distance presentation in case of invalid value. X-Git-Tag: V_0.5~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8caa264fec97b1bcc0e8913b0ee2cb2f50bb8fec;p=modules%2Fshaper.git refs #196 - visualize a constraint distance presentation in case of invalid value. --- diff --git a/src/SketchPlugin/SketchPlugin_ConstraintDistance.cpp b/src/SketchPlugin/SketchPlugin_ConstraintDistance.cpp index 23c8b546c..89faf4208 100644 --- a/src/SketchPlugin/SketchPlugin_ConstraintDistance.cpp +++ b/src/SketchPlugin/SketchPlugin_ConstraintDistance.cpp @@ -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.;