X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2FSketchPlugin_Point.h;h=5111ce0a8922e0e8f47d5a373b89f054efbbfd48;hb=c7c9b0ce694a1e7e48a669ccd821b803d9c25f82;hp=1cdcae05f39ddb505170bedc42e94cb4fe169a23;hpb=650554fd6236ddcfdac0a456d1031bf15d411a05;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/SketchPlugin_Point.h b/src/SketchPlugin/SketchPlugin_Point.h index 1cdcae05f..5111ce0a8 100644 --- a/src/SketchPlugin/SketchPlugin_Point.h +++ b/src/SketchPlugin/SketchPlugin_Point.h @@ -44,6 +44,12 @@ class SketchPlugin_Point : public SketchPlugin_SketchEntity static const std::string MY_COORD_ID("PointCoordinates"); return MY_COORD_ID; } + /// Reference to the parent feature + inline static const std::string& PARENT_ID() + { + static const std::string& MY_PARENT_ID("ParentFeature"); + return MY_PARENT_ID; + } /// Returns the kind of a feature SKETCHPLUGIN_EXPORT virtual const std::string& getKind() {