Salome HOME
Small fix
authordbv <dbv@opencascade.com>
Fri, 17 Aug 2018 09:10:09 +0000 (12:10 +0300)
committerdbv <dbv@opencascade.com>
Fri, 17 Aug 2018 09:10:42 +0000 (12:10 +0300)
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();
 }
 
 //==================================================================================================