Salome HOME
Issue #2741: Undo of distance argument change produces crash
[modules/shaper.git] / src / FeaturesAPI / FeaturesAPI_BooleanFuse.cpp
index d92cd797673014dcf984cc385c7aae5191fb2393..6d837663c87152033b91e77626d9f3ee00aa82c0 100644 (file)
@@ -85,6 +85,7 @@ void FeaturesAPI_BooleanFuse::setMainObjects(
 void FeaturesAPI_BooleanFuse::setToolObjects(
   const std::list<ModelHighAPI_Selection>& theToolObjects)
 {
+  fillAttribute(FeaturesPlugin_BooleanFuse::CREATION_METHOD_ADVANCED(), mycreationMethod);
   fillAttribute(theToolObjects, mytoolObjects);
 
   execute();
@@ -106,6 +107,8 @@ void FeaturesAPI_BooleanFuse::setAdvancedMode(const bool theMode)
   } else {
     fillAttribute(FeaturesPlugin_BooleanFuse::CREATION_METHOD_SIMPLE(), mycreationMethod);
   }
+
+  execute();
 }
 
 //==================================================================================================