X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FFeaturesAPI%2FFeaturesAPI_Revolution.cpp;h=4891680fc790d4f4333ec21f0611842baf7955f2;hb=fc72d43b677baa05ae7fd317346fd8b723b799ed;hp=51a1a1297ccd0c9cb338f59e388c652c15465d61;hpb=266ba3a9179517c4b288232eb8d9db1bac4c56b7;p=modules%2Fshaper.git diff --git a/src/FeaturesAPI/FeaturesAPI_Revolution.cpp b/src/FeaturesAPI/FeaturesAPI_Revolution.cpp index 51a1a1297..4891680fc 100644 --- a/src/FeaturesAPI/FeaturesAPI_Revolution.cpp +++ b/src/FeaturesAPI/FeaturesAPI_Revolution.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2020 CEA/DEN, EDF R&D +// Copyright (C) 2014-2023 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -57,9 +57,9 @@ FeaturesAPI_Revolution::FeaturesAPI_Revolution( : ModelHighAPI_Interface(theFeature) { if(initialize()) { - fillAttribute(theBaseObjects, mybaseObjects); if (!theSelectionType.empty()) mybaseObjects->setSelectionType(theSelectionType); + fillAttribute(theBaseObjects, mybaseObjects); fillAttribute(theAxis, myaxis); setAngles(theToAngle, theFromAngle); } @@ -78,9 +78,9 @@ FeaturesAPI_Revolution::FeaturesAPI_Revolution( : ModelHighAPI_Interface(theFeature) { if(initialize()) { - fillAttribute(theBaseObjects, mybaseObjects); if (!theSelectionType.empty()) mybaseObjects->setSelectionType(theSelectionType); + fillAttribute(theBaseObjects, mybaseObjects); fillAttribute(theAxis, myaxis); setPlanesAndOffsets(theToObject, theToOffset, theFromObject, theFromOffset); }