X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FFeaturesAPI%2FFeaturesAPI_Boolean.cpp;h=ec9737156f9ffec569f0d748a8057e5c746c8a7b;hb=e20a4ec83c24222f7a3b159111f15e87bce6370f;hp=062731c89972585ea13c405c912139ac57f46f68;hpb=8e3305186cf4d250f01e08cdc412f3476da11e8d;p=modules%2Fshaper.git diff --git a/src/FeaturesAPI/FeaturesAPI_Boolean.cpp b/src/FeaturesAPI/FeaturesAPI_Boolean.cpp index 062731c89..ec9737156 100644 --- a/src/FeaturesAPI/FeaturesAPI_Boolean.cpp +++ b/src/FeaturesAPI/FeaturesAPI_Boolean.cpp @@ -30,7 +30,7 @@ FeaturesAPI_Boolean::FeaturesAPI_Boolean(const std::shared_ptr 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;