X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FFeaturesAPI%2FFeaturesAPI_Recover.cpp;h=b9497c0f1f1d40d62f2c293e1a949ee2e2abad21;hb=fc72d43b677baa05ae7fd317346fd8b723b799ed;hp=49a41dfb1631838eb982a0dd25ced9002fab4caf;hpb=50a8df0c6a66da8067b16155e5ae39f8f26a7ebc;p=modules%2Fshaper.git diff --git a/src/FeaturesAPI/FeaturesAPI_Recover.cpp b/src/FeaturesAPI/FeaturesAPI_Recover.cpp index 49a41dfb1..b9497c0f1 100644 --- a/src/FeaturesAPI/FeaturesAPI_Recover.cpp +++ b/src/FeaturesAPI/FeaturesAPI_Recover.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2020 CEA/DEN, EDF R&D +// Copyright (C) 2014-2023 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -37,12 +37,12 @@ FeaturesAPI_Recover::FeaturesAPI_Recover(const std::shared_ptr 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); } }