]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SketchPlugin/SketchPlugin_Circle.h
Salome HOME
It replaces using of direct value "Sketch" to SKETCH_KIND, which is defined in the...
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_Circle.h
index 18fa1e71f94ce1db6a85076d2e68ef1fbfcd7faf..021b8adeeab2e2e99d34417d1a61a5304f2ae4c7 100644 (file)
@@ -7,6 +7,7 @@
 
 #include "SketchPlugin.h"
 #include <SketchPlugin_Feature.h>
+#include <SketchPlugin_Sketch.h>
 
 /// 2D point - center of the circle
 const std::string CIRCLE_ATTR_CENTER("CircleCenter");
@@ -26,7 +27,7 @@ public:
 
   /// 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;}
 
   /// Creates a new part document if needed
   SKETCHPLUGIN_EXPORT virtual void execute();