Toponaming: Squash to one index character in element names

This commit is contained in:
bgbsww
2024-08-10 23:23:32 -04:00
parent 5b7e03013e
commit da61574bb4
3 changed files with 3 additions and 6 deletions

View File

@@ -93,8 +93,6 @@ const char *Data::hasMappedElementName(const char *subname) {
return isMappedElement(findElementName(subname));
}
// Currently used by CrossSection.cpp and FeatureTransformed.cpp with different label types
// with a default of "I" and "_" used by CrossSection.
const std::string Data::indexSuffix(int index, const char *label)
{
if ( index < 2 ) { // Don't add a suffix for item #1, begin appending at 2