X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2FSketchPlugin_ConstraintLength.h;h=dd16d1a3a781478c97287e320beab29a37b2a88a;hb=64fc7e4fdd63997ec7a502b233ef5f88186d5bbb;hp=5d36f051e99eabdcd2e2cdd8e12de635914a2d35;hpb=2d5cbfca3d96c8251370fc563d2d675650aabd28;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/SketchPlugin_ConstraintLength.h b/src/SketchPlugin/SketchPlugin_ConstraintLength.h index 5d36f051e..dd16d1a3a 100644 --- a/src/SketchPlugin/SketchPlugin_ConstraintLength.h +++ b/src/SketchPlugin/SketchPlugin_ConstraintLength.h @@ -9,13 +9,14 @@ #include "SketchPlugin.h" #include "SketchPlugin_ConstraintBase.h" -#include +#include "SketchPlugin_Sketch.h" + +#include + #include class GeomDataAPI_Point2D; -#define LENGTH_COLOR "#ff00ff" - /** \class SketchPlugin_ConstraintLength * \ingroup Plugins * \brief Feature for creation of a new constraint which defines a length of a line segment @@ -72,6 +73,9 @@ private: std::shared_ptr& thePoint1, std::shared_ptr& thePoint2, std::shared_ptr& theStartPoint, std::shared_ptr& theEndPoint); + +private: + bool myFlyoutUpdate; ///< to avoid cyclic dependencies on automatic updates of flyout point }; #endif