From cb5d9e236af6245e596de733c9c0224effd63602 Mon Sep 17 00:00:00 2001 From: Nicolas RECHATIN Date: Wed, 16 Jun 2021 15:00:55 +0200 Subject: [PATCH] =?utf8?q?Int=C3=A9gration=20:=20=20=20=20=20=20=20=20=20+?= =?utf8?q?=20Lint=20and=20code=20norm?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/FeaturesAPI/FeaturesAPI_NormalToFace.cpp | 2 +- src/FeaturesPlugin/FeaturesPlugin_CreateNormalToFace.cpp | 9 ++------- src/FeaturesPlugin/FeaturesPlugin_NormalToFace.cpp | 4 +--- 3 files changed, 4 insertions(+), 11 deletions(-) diff --git a/src/FeaturesAPI/FeaturesAPI_NormalToFace.cpp b/src/FeaturesAPI/FeaturesAPI_NormalToFace.cpp index 8cbf7bf9e..42a7b608d 100644 --- a/src/FeaturesAPI/FeaturesAPI_NormalToFace.cpp +++ b/src/FeaturesAPI/FeaturesAPI_NormalToFace.cpp @@ -77,7 +77,7 @@ void FeaturesAPI_NormalToFace::dump(ModelHighAPI_Dumper& theDumper) const theDumper << aBase << " = model.getNormal(" << aDocName << ", " << anAttrObject; - if (!aBase->string(FeaturesPlugin_CreateNormalToFace::VERTEX_OPTION_ID())->value().empty()){ + if (!aBase->string(FeaturesPlugin_CreateNormalToFace::VERTEX_OPTION_ID())->value().empty()) { AttributeSelectionPtr anAttrVertex = aBase->selection(FeaturesPlugin_CreateNormalToFace::VERTEX_SELECTED_ID()); diff --git a/src/FeaturesPlugin/FeaturesPlugin_CreateNormalToFace.cpp b/src/FeaturesPlugin/FeaturesPlugin_CreateNormalToFace.cpp index f0b944b53..50282923a 100644 --- a/src/FeaturesPlugin/FeaturesPlugin_CreateNormalToFace.cpp +++ b/src/FeaturesPlugin/FeaturesPlugin_CreateNormalToFace.cpp @@ -37,9 +37,7 @@ #include //================================================================================================= -FeaturesPlugin_CreateNormalToFace::FeaturesPlugin_CreateNormalToFace() -{ -} +FeaturesPlugin_CreateNormalToFace::FeaturesPlugin_CreateNormalToFace() {} //================================================================================================= void FeaturesPlugin_CreateNormalToFace::initAttributes() @@ -51,7 +49,6 @@ void FeaturesPlugin_CreateNormalToFace::initAttributes() data()->addAttribute(VERTEX_OPTION_ID(), ModelAPI_AttributeString::typeId()); ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(), VERTEX_SELECTED_ID()); - } //================================================================================================= @@ -107,8 +104,6 @@ void FeaturesPlugin_CreateNormalToFace::execute() } //================================================================================================= -void FeaturesPlugin_CreateNormalToFace::attributeChanged(const std::string& theID) -{ -} +void FeaturesPlugin_CreateNormalToFace::attributeChanged(const std::string& theID) {} diff --git a/src/FeaturesPlugin/FeaturesPlugin_NormalToFace.cpp b/src/FeaturesPlugin/FeaturesPlugin_NormalToFace.cpp index 853c26c1d..63e6db11c 100644 --- a/src/FeaturesPlugin/FeaturesPlugin_NormalToFace.cpp +++ b/src/FeaturesPlugin/FeaturesPlugin_NormalToFace.cpp @@ -42,9 +42,7 @@ #include //================================================================================================= -FeaturesPlugin_NormalToFace::FeaturesPlugin_NormalToFace() -{ -} +FeaturesPlugin_NormalToFace::FeaturesPlugin_NormalToFace() {} //================================================================================================= void FeaturesPlugin_NormalToFace::initAttributes() -- 2.39.2