From 7c6dda8c9d529fc79501183c7516fe66d36b88fe Mon Sep 17 00:00:00 2001 From: akondrat Date: Wed, 12 Oct 2022 13:16:20 +0300 Subject: [PATCH] [bos #32317] EDF26101 - no name with group filter Remove code that set not parametric name --- src/Model/Model_AttributeSelection.cpp | 17 ----------------- 1 file changed, 17 deletions(-) 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); -- 2.39.2