]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Initialize the default method of Recover feature.
authorazv <azv@opencascade.com>
Wed, 29 May 2019 05:44:15 +0000 (08:44 +0300)
committervsv <vsv@opencascade.com>
Mon, 3 Jun 2019 10:32:09 +0000 (13:32 +0300)
src/FeaturesPlugin/FeaturesPlugin_Recover.cpp

index 1721e05b6ba21634de84ff9e295d6f6f4bbb3f83..4cf0a75c315110abc23766fd59bbf105b8a81f61 100644 (file)
@@ -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()