mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-29 14:52:12 +01:00
UAVParser: Support comments in objects
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2934 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
915ae1ae3c
commit
39588fef39
@ -193,7 +193,7 @@ QString UAVObjectParser::parseXML(QString& xml, QString& filename)
|
||||
|
||||
descriptionFound = true;
|
||||
}
|
||||
else {
|
||||
else if (!childNode.isComment()) {
|
||||
return QString("Unknown object element");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user