[TD]fix validation of hybrid dimension

This commit is contained in:
wandererfan
2023-01-21 10:03:21 -05:00
committed by WandererFan
parent 25e6f33725
commit 76ffee77bc

View File

@@ -251,6 +251,12 @@ bool TechDraw::checkGeometryOccurences(StringVector subNames, GeomCountMap keyed
}
}
//hybrid dims (vertex-edge) can skip this check
if (foundCounts.size() > 1) {
//this is a hybrid dimension
return true;
}
//check found geometry counts against required counts
for (auto& foundItem : foundCounts) {
std::string currentKey = foundItem.first;