X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2FSketchPlugin_SketchEntity.cpp;h=3d26d3d9502fa50bcaec9e34919ea85de1999c6c;hb=ad84ec41d7f40729d3aef2a1a3fdb4e102d84b82;hp=0737eb899b8f4c756a443b3d154ee0a4fa002476;hpb=247fc0bd6c6e04ce1f7a6e67f8d3c80ce17acab0;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/SketchPlugin_SketchEntity.cpp b/src/SketchPlugin/SketchPlugin_SketchEntity.cpp index 0737eb899..3d26d3d95 100644 --- a/src/SketchPlugin/SketchPlugin_SketchEntity.cpp +++ b/src/SketchPlugin/SketchPlugin_SketchEntity.cpp @@ -13,6 +13,11 @@ SketchPlugin_SketchEntity::SketchPlugin_SketchEntity() void SketchPlugin_SketchEntity::initAttributes() { - data()->addAttribute(CONSTRUCTION_ID(), ModelAPI_AttributeBoolean::type()); - ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(), CONSTRUCTION_ID()); + data()->addAttribute(AUXILIARY_ID(), ModelAPI_AttributeBoolean::typeId()); + + initDerivedClassAttributes(); + + AttributePtr anAttr = data()->addAttribute(SketchPlugin_SketchEntity::COPY_ID(), ModelAPI_AttributeBoolean::typeId()); + anAttr->setIsArgument(false); + ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(), SketchPlugin_SketchEntity::COPY_ID()); }