diff options
author | Jere Tuliniemi <jere.tuliniemi@qt.io> | 2018-11-09 14:17:20 +0200 |
---|---|---|
committer | Jere Tuliniemi <jere.tuliniemi@qt.io> | 2018-11-12 09:17:46 +0000 |
commit | 6f2129c53b20f47e52558a511b2263d2e1b9c26f (patch) | |
tree | 6246f97d55e15ddbd3e1b323274dc233422d6d71 | |
parent | 52a5e17c929d894885860ed9c06270d1f5f7e440 (diff) |
Update UIP version number
UIP version is upped so that old editors are not used to edit projects
with the material container containing materials read from the
.materialdef files.
Task-number: QT3DS-2612
Change-Id: I8883a86569d7534a4339aa17d5c4f66ddbd4a8ce
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
-rw-r--r-- | src/runtime/q3dsuipparser.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/runtime/q3dsuipparser.cpp b/src/runtime/q3dsuipparser.cpp index e087641..f6c4381 100644 --- a/src/runtime/q3dsuipparser.cpp +++ b/src/runtime/q3dsuipparser.cpp @@ -111,7 +111,8 @@ Q3DSUipPresentation *Q3DSUipParser::createPresentation(const QString &presentati QXmlStreamReader *r = reader(); if (r->readNextStartElement()) { if (r->name() == QStringLiteral("UIP") - && (r->attributes().value(QLatin1String("version")) == QStringLiteral("4") + && (r->attributes().value(QLatin1String("version")) == QStringLiteral("5") + || r->attributes().value(QLatin1String("version")) == QStringLiteral("4") || r->attributes().value(QLatin1String("version")) == QStringLiteral("3"))) { parseUIP(); } else { |