Salome HOME
Prepare version 1.2.1: quick fix for iteration 2 release
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_ConstraintLength.h
index 5d36f051e99eabdcd2e2cdd8e12de635914a2d35..a905ad1d697d1ffa5fd0f328bc7603608f468779 100644 (file)
@@ -14,8 +14,6 @@
 
 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 +70,9 @@ private:
     std::shared_ptr<GeomAPI_Pnt>& thePoint1, std::shared_ptr<GeomAPI_Pnt>& thePoint2,
     std::shared_ptr<GeomDataAPI_Point2D>& theStartPoint,
     std::shared_ptr<GeomDataAPI_Point2D>& theEndPoint);
+
+private:
+  bool myFlyoutUpdate; ///< to avoid cyclic dependencies on automatic updates of flyout point
 };
 
 #endif