[TD]fix reversed condition prevents 3d dimension
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user