X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FSketchPlugin%2FSketchPlugin_Point.cpp;h=17dbb0a3fe63e4ac097c687e09664a554938b684;hb=b234852f214beada2b07507e1ed35827ce8988c4;hp=cf718db760dd812324db95cf16a10a297494b29b;hpb=b5e862b69cef5c4832c07b0df3448554a59555c0;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/SketchPlugin_Point.cpp b/src/SketchPlugin/SketchPlugin_Point.cpp index cf718db76..17dbb0a3f 100644 --- a/src/SketchPlugin/SketchPlugin_Point.cpp +++ b/src/SketchPlugin/SketchPlugin_Point.cpp @@ -25,10 +25,8 @@ SketchPlugin_Point::SketchPlugin_Point() { } -void SketchPlugin_Point::initAttributes() +void SketchPlugin_Point::initDerivedClassAttributes() { - SketchPlugin_SketchEntity::initAttributes(); - data()->addAttribute(SketchPlugin_Point::COORD_ID(), GeomDataAPI_Point2D::typeId()); data()->addAttribute(EXTERNAL_ID(), ModelAPI_AttributeSelection::typeId()); ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(), EXTERNAL_ID());