Salome HOME
Fix for dump SketchAPI_Projection and for FeaturesAPI_Recover
[modules/shaper.git] / src / FeaturesAPI / FeaturesAPI_Recover.cpp
index efc80327bd5a25daba989a2bed38fbb88546f77d..368f54a4d82170b16530ccabd414f6e00e307500 100644 (file)
@@ -37,7 +37,8 @@ FeaturesAPI_Recover::~FeaturesAPI_Recover()
 //=================================================================================================
 void FeaturesAPI_Recover::setBaseFeature(const ModelHighAPI_Reference& theBaseFeature)
 {
-  fillAttribute(theBaseFeature, mybaseFeature);
+
+  fillAttribute(theBaseFeature.feature(), mybaseFeature);
   // do not need to execute because on attribute changed it does everything anyway
 }