Don't parse gradation in main parse loop.
--HG-- branch : feature
This commit is contained in:
parent
750825eb6a
commit
b31069859e
|
@ -300,7 +300,8 @@ void VPattern::Parse(const Document &parse)
|
|||
{
|
||||
SCASSERT(sceneDraw != nullptr);
|
||||
SCASSERT(sceneDetail != nullptr);
|
||||
QStringList tags{TagDraw, TagIncrements, TagAuthor, TagDescription, TagNotes, TagMeasurements, TagVersion};
|
||||
QStringList tags{TagDraw, TagIncrements, TagAuthor, TagDescription, TagNotes, TagMeasurements, TagVersion,
|
||||
TagGradation};
|
||||
PrepareForParse(parse);
|
||||
QDomNode domNode = documentElement().firstChild();
|
||||
while (domNode.isNull() == false)
|
||||
|
@ -344,6 +345,8 @@ void VPattern::Parse(const Document &parse)
|
|||
break;
|
||||
case 6: // TagVersion
|
||||
break;
|
||||
case 7: // TagGradation
|
||||
break;
|
||||
default:
|
||||
qDebug()<<"Wrong tag name"<<domElement.tagName()<<Q_FUNC_INFO;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue
Block a user