summaryrefslogtreecommitdiffstats
path: root/src/runtime/Qt3DSApplication.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/Qt3DSApplication.cpp')
-rw-r--r--src/runtime/Qt3DSApplication.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/runtime/Qt3DSApplication.cpp b/src/runtime/Qt3DSApplication.cpp
index 4c88335..ffcfa59 100644
--- a/src/runtime/Qt3DSApplication.cpp
+++ b/src/runtime/Qt3DSApplication.cpp
@@ -1367,10 +1367,13 @@ struct SApp : public IApplication
this);
inAsset.m_Presentation = thePresentation;
thePresentation->SetFilePath(theFile.c_str());
+ int uipVersion = 0;
NVScopedReleasable<IUIPParser> theUIPParser(IUIPParser::Create(
theFile.c_str(), *m_MetaData,
m_CoreFactory->GetInputStreamFactory(),
- m_CoreFactory->GetStringTable()));
+ m_CoreFactory->GetStringTable(),
+ uipVersion));
+ thePresentation->setUIPVersion(uipVersion);
Q3DStudio::IScene *newScene = nullptr;
if (theUIPParser->Load(*thePresentation, inExternalReferences, initInRenderThread)) {
// Load the scene graph portion of the scene.