From: azv Date: Wed, 29 May 2019 05:44:15 +0000 (+0300) Subject: Initialize the default method of Recover feature. X-Git-Tag: VEDF2019Lot4~126 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=dfec16b747fa4012fe5972899fbd0ee8969c2390;p=modules%2Fshaper.git Initialize the default method of Recover feature. --- diff --git a/src/FeaturesPlugin/FeaturesPlugin_Recover.cpp b/src/FeaturesPlugin/FeaturesPlugin_Recover.cpp index 1721e05b6..4cf0a75c3 100644 --- a/src/FeaturesPlugin/FeaturesPlugin_Recover.cpp +++ b/src/FeaturesPlugin/FeaturesPlugin_Recover.cpp @@ -44,6 +44,8 @@ void FeaturesPlugin_Recover::initAttributes() data()->addAttribute(METHOD(), ModelAPI_AttributeString::typeId()); ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(), METHOD()); + // set default method for recovering + string(METHOD())->setValue(METHOD_DEFAULT()); } void FeaturesPlugin_Recover::execute()