X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2FSketchPlugin_Point.cpp;h=798140611b2755a7b86248a055617fa84aed4e44;hb=51889d235a27d0ee4b3c3237d21d1ea621063580;hp=3fd71b5609e3429a5102ac7b9e314d69982802d2;hpb=b90fb4d28f6166894b6960e47bbee8edbdd2570a;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/SketchPlugin_Point.cpp b/src/SketchPlugin/SketchPlugin_Point.cpp index 3fd71b560..798140611 100644 --- a/src/SketchPlugin/SketchPlugin_Point.cpp +++ b/src/SketchPlugin/SketchPlugin_Point.cpp @@ -21,11 +21,14 @@ using namespace std; SketchPlugin_Point::SketchPlugin_Point() + : SketchPlugin_SketchEntity() { } void SketchPlugin_Point::initAttributes() { + SketchPlugin_SketchEntity::initAttributes(); + data()->addAttribute(SketchPlugin_Point::COORD_ID(), GeomDataAPI_Point2D::type()); data()->addAttribute(EXTERNAL_ID(), ModelAPI_AttributeSelection::type()); ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(), EXTERNAL_ID());