Salome HOME
Sketch with the Fixed constraints only should be processed as usual sketch
[modules/shaper.git] / src / FeaturesAPI / FeaturesAPI_Boolean.cpp
index 062731c89972585ea13c405c912139ac57f46f68..ec9737156f9ffec569f0d748a8057e5c746c8a7b 100644 (file)
@@ -30,7 +30,7 @@ FeaturesAPI_Boolean::FeaturesAPI_Boolean(const std::shared_ptr<ModelAPI_Feature>
     fillAttribute(theMainObjects, mymainObjects);
     fillAttribute(theToolObjects, mytoolObjects);
 
-    execute();
+    execute(false);
   }
 }
 
@@ -70,7 +70,8 @@ void FeaturesAPI_Boolean::dump(ModelHighAPI_Dumper& theDumper) const
   FeaturePtr aBase = feature();
 
   FeaturesPlugin_Boolean::OperationType aType =
-      (FeaturesPlugin_Boolean::OperationType)aBase->integer(FeaturesPlugin_Boolean::TYPE_ID())->value();
+      (FeaturesPlugin_Boolean::OperationType)aBase->integer(
+      FeaturesPlugin_Boolean::TYPE_ID())->value();
 
   theDumper << aBase << " = model.add";
 
@@ -83,7 +84,8 @@ void FeaturesAPI_Boolean::dump(ModelHighAPI_Dumper& theDumper) const
   }
 
   const std::string& aDocName = theDumper.name(aBase->document());
-  AttributeSelectionListPtr anObjects = aBase->selectionList(FeaturesPlugin_Boolean::OBJECT_LIST_ID());
+  AttributeSelectionListPtr anObjects =
+    aBase->selectionList(FeaturesPlugin_Boolean::OBJECT_LIST_ID());
   AttributeSelectionListPtr aTools = aBase->selectionList(FeaturesPlugin_Boolean::TOOL_LIST_ID());
 
   theDumper << "(" << aDocName << ", " << anObjects << ", " << aTools << ")" << std::endl;