X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2FSketchPlugin_ConstraintDistance.h;h=cbd6ccf37f6ac2a5773f443744972c64149720ad;hb=8f10db487ef409d859a62aa6e2235a17d9b56723;hp=e1d8a71abfe99f5c283bdce2939a64fa05a30e1c;hpb=318397f164871a2de94a33a5802a3e4fe8981756;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/SketchPlugin_ConstraintDistance.h b/src/SketchPlugin/SketchPlugin_ConstraintDistance.h index e1d8a71ab..cbd6ccf37 100644 --- a/src/SketchPlugin/SketchPlugin_ConstraintDistance.h +++ b/src/SketchPlugin/SketchPlugin_ConstraintDistance.h @@ -67,12 +67,13 @@ class SketchPlugin_ConstraintDistance : public SketchPlugin_ConstraintBase /// \param theID identifier of changed attribute SKETCHPLUGIN_EXPORT virtual void attributeChanged(const std::string& theID); - /// Returns the current distance between the feature attributes - double calculateCurrentDistance(); - /// \brief Use plugin manager for features creation SketchPlugin_ConstraintDistance(); +protected: + /// Returns the current distance between the feature attributes + double calculateCurrentDistance(); + private: bool myFlyoutUpdate; ///< to avoid cyclic dependencies on automatic updates of flyout point };