From: akondrat Date: Wed, 12 Oct 2022 10:16:20 +0000 (+0300) Subject: [bos #32317] EDF26101 - no name with group filter X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2FCR32317;p=modules%2Fshaper.git [bos #32317] EDF26101 - no name with group filter Remove code that set not parametric name --- diff --git a/src/Model/Model_AttributeSelection.cpp b/src/Model/Model_AttributeSelection.cpp index 59c47cca2..c4c5bede8 100644 --- a/src/Model/Model_AttributeSelection.cpp +++ b/src/Model/Model_AttributeSelection.cpp @@ -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);