diff --git a/ground/uavobjgenerator/uavobjectparser.cpp b/ground/uavobjgenerator/uavobjectparser.cpp index 5bb4d299e..149520cbf 100644 --- a/ground/uavobjgenerator/uavobjectparser.cpp +++ b/ground/uavobjgenerator/uavobjectparser.cpp @@ -193,7 +193,7 @@ QString UAVObjectParser::parseXML(QString& xml, QString& filename) descriptionFound = true; } - else { + else if (!childNode.isComment()) { return QString("Unknown object element"); }