Implement Fix

Switch from checking child tag to checking the materTag

(cherry picked from commit 88b5cde45f)
This commit is contained in:
drwho495
2025-12-15 20:42:10 +01:00
committed by Max Wilfinger
parent 7c7cb1a783
commit 4559d078e4
+1 -1
View File
@@ -1192,7 +1192,7 @@ void ElementMap::addChildElements(long masterTag, const std::vector<MappedChildE
// do child mapping only if the child element count >= 5
const int threshold {5};
if ((child.count >= threshold && child.tag != 0) || !child.elementMap) {
if ((child.count >= threshold && masterTag != 0) || !child.elementMap) {
encodeElementName(child.indexedName[0],
tmp,
ss,