Salome HOME
Fix for issue #1174
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_SketchEntity.cpp
index 9e95496ef455fa95572ba3c4f53c1a0c82b3ac47..7f08f44005a96a4098333315f23b101d85064366 100644 (file)
@@ -15,4 +15,10 @@ void SketchPlugin_SketchEntity::initAttributes()
 {
   data()->addAttribute(AUXILIARY_ID(), ModelAPI_AttributeBoolean::typeId());
   ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(), AUXILIARY_ID());
+
+  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());
 }