[TD]fix reversed condition prevents 3d dimension

This commit is contained in:
wandererfan
2025-03-12 19:02:08 -04:00
parent 2cea9600ef
commit dc04f68732

View File

@@ -214,7 +214,7 @@ bool TechDraw::validateSubnameList(const StringVector& subNames, GeometrySet acc
{
for (auto& sub : subNames) {
std::string geometryType = DrawUtil::getGeomTypeFromName(ShapeFinder::getLastTerm(sub));
if (acceptableGeometrySet.contains(geometryType)) {
if (!acceptableGeometrySet.contains(geometryType)) {
//this geometry type is not allowed
return false;
}