Salome HOME
It replaces using of direct value "Sketch" to SKETCH_KIND, which is defined in the...
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_ConstraintPerpendicular.h
index 6c5074a90cd62c1ec2b4205011d03af5cf1aba62..b5cc31ccb66554c73c628120ac0c592bf9362f25 100644 (file)
@@ -6,6 +6,7 @@
 #define SketchPlugin_ConstraintPerpendicular_HeaderFile
 
 #include "SketchPlugin.h"
+#include <SketchPlugin_Sketch.h>
 #include "SketchPlugin_Constraint.h"
 
 
@@ -25,7 +26,7 @@ public:
 
   /// \brief Returns to which group in the document must be added feature
   SKETCHPLUGIN_EXPORT virtual const std::string& getGroup() 
-  {static std::string MY_GROUP = "Sketch"; return MY_GROUP;}
+  {static std::string MY_GROUP = SKETCH_KIND; return MY_GROUP;}
 
   /// \brief Creates a new part document if needed
   SKETCHPLUGIN_EXPORT virtual void execute();