]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/FeaturesAPI/FeaturesAPI_Recover.cpp
Salome HOME
[bos #26534] EDF 24265 - Problem of recover in TUI
[modules/shaper.git] / src / FeaturesAPI / FeaturesAPI_Recover.cpp
index b4de32a66b69bc26a635096b52daee4703bc2b67..15d1ff9cac52d7aa27b4b903a08a3098673a54c1 100644 (file)
@@ -37,12 +37,12 @@ FeaturesAPI_Recover::FeaturesAPI_Recover(const std::shared_ptr<ModelAPI_Feature>
   const bool theRecoverCompound)
 : ModelHighAPI_Interface(theFeature)
 {
-  if(initialize()) {
+  if (initialize()) {
     std::string aMethod = theRecoverCompound ? FeaturesPlugin_Recover::METHOD_COMPOUND()
                                              : FeaturesPlugin_Recover::METHOD_DEFAULT();
     fillAttribute(aMethod, theFeature->string(FeaturesPlugin_Recover::METHOD()));
 
-    setBaseFeature(theBaseFeature);
+    fillAttribute(theBaseFeature.feature(), mybaseFeature);
     setRecoveredList(theRecoveredList);
   }
 }