]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix the problem with change of Base of Recover feature in GUI when some result is...
authormpv <mpv@opencascade.com>
Fri, 2 Sep 2016 14:32:40 +0000 (17:32 +0300)
committermpv <mpv@opencascade.com>
Fri, 2 Sep 2016 14:32:40 +0000 (17:32 +0300)
src/FeaturesPlugin/FeaturesPlugin_Recover.cpp

index 5bdff264fcb0f19c7ac866d3bea76509edbecc81..cb54944eb37a38cdd07b392e60e29df290fcc898 100644 (file)
@@ -49,7 +49,7 @@ void FeaturesPlugin_Recover::synchronizeRegistered()
 {
   FeaturePtr aBase = baseFeature();
   bool aNewPersistent = boolean(PERSISTENT())->value();
-  if (aNewPersistent != myPersistent)
+  if (aNewPersistent != myPersistent || myCurrentBase != aBase)
     clearRegistered();
 
   std::set<ObjectPtr> aRecoveredInList;