X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModel%2FModel_AttributeSelection.cpp;h=9ee407686c351f148d2d3c3668dd348fee298c8d;hb=06e7f5859095193fc7f498bd89a7d28009794f53;hp=59c47cca2996cf49f55e8463308dcfc657820beb;hpb=88ee9b2b81cf93a6324336b57e30cc8a3a487499;p=modules%2Fshaper.git diff --git a/src/Model/Model_AttributeSelection.cpp b/src/Model/Model_AttributeSelection.cpp index 59c47cca2..9ee407686 100644 --- a/src/Model/Model_AttributeSelection.cpp +++ b/src/Model/Model_AttributeSelection.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2022 CEA/DEN, EDF R&D +// Copyright (C) 2014-2023 CEA, EDF // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -785,23 +785,6 @@ std::wstring Model_AttributeSelection::namingName(const std::wstring& theDefault if(!this->isInitialized()) return !theDefaultName.empty() ? theDefaultName : aName; - // not argument has not parametric name (filters) - if (!this->isArgument() || (myParent && !myParent->isArgument())) { - GeomShapePtr aShape = value(); - if (!aShape.get() && context().get()) - aShape = context()->shape(); - std::wstring aNotArgName; - if (aShape.get()) { - aNotArgName = Locale::Convert::toWString(aShape->shapeTypeStr()); - if (myParent) { - std::wostringstream aStream; - aStream << "_" << selectionLabel().Father().Tag(); - aNotArgName += aStream.str(); - } - } - return aNotArgName; - } - CenterType aCenterType = NOT_CENTER; std::shared_ptr aSubSh = internalValue(aCenterType);