From 9f2d212b120880bb4db0b02ab3020cbe6e77802b Mon Sep 17 00:00:00 2001 From: drwho495 Date: Mon, 25 Aug 2025 16:28:19 -0500 Subject: [PATCH] Toponaming: Don't add empty tags past the threshold --- src/App/ElementMap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App/ElementMap.cpp b/src/App/ElementMap.cpp index f5851ccc58..9f49b94c0a 100644 --- a/src/App/ElementMap.cpp +++ b/src/App/ElementMap.cpp @@ -1192,7 +1192,7 @@ void ElementMap::addChildElements(long masterTag, const std::vector= 5 const int threshold {5}; - if (child.count >= threshold || !child.elementMap) { + if ((child.count >= threshold && child.tag != 0) || !child.elementMap) { encodeElementName(child.indexedName[0], tmp, ss,