X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FSketchPlugin%2FSketchPlugin_ConstraintPerpendicular.h;h=475c330849c3c35095878230876cc22493e2cd16;hb=93d047cf2a5a37eaf9525025f2341e845033b569;hp=b5cc31ccb66554c73c628120ac0c592bf9362f25;hpb=78ee6c26e0b4e8a14ef4b2beedf6e7f83479bd7f;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/SketchPlugin_ConstraintPerpendicular.h b/src/SketchPlugin/SketchPlugin_ConstraintPerpendicular.h index b5cc31ccb..475c33084 100644 --- a/src/SketchPlugin/SketchPlugin_ConstraintPerpendicular.h +++ b/src/SketchPlugin/SketchPlugin_ConstraintPerpendicular.h @@ -9,6 +9,8 @@ #include #include "SketchPlugin_Constraint.h" +/// Perpendicular constraint kind +const std::string SKETCH_CONSTRAINT_PERPENDICULAR_KIND("SketchConstraintPerpendicular"); /** \class SketchPlugin_ConstraintPerpendicular * \ingroup DataModel @@ -22,7 +24,7 @@ class SketchPlugin_ConstraintPerpendicular: public SketchPlugin_Constraint public: /// \brief Returns the kind of a feature SKETCHPLUGIN_EXPORT virtual const std::string& getKind() - {static std::string MY_KIND = "SketchConstraintPerpendicular"; return MY_KIND;} + {static std::string MY_KIND = SKETCH_CONSTRAINT_PERPENDICULAR_KIND; return MY_KIND;} /// \brief Returns to which group in the document must be added feature SKETCHPLUGIN_EXPORT virtual const std::string& getGroup()