diff options
Diffstat (limited to 'src/api/studio3dqml')
-rw-r--r-- | src/api/studio3dqml/q3dsplugin.cpp | 1 | ||||
-rw-r--r-- | src/api/studio3dqml/q3dsrenderer.cpp | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/api/studio3dqml/q3dsplugin.cpp b/src/api/studio3dqml/q3dsplugin.cpp index ee9a9b9..6ce3628 100644 --- a/src/api/studio3dqml/q3dsplugin.cpp +++ b/src/api/studio3dqml/q3dsplugin.cpp @@ -67,6 +67,7 @@ void Q3DSPlugin::registerTypes(const char *uri) // 2.7 qmlRegisterType<Q3DSPresentationItem, 2>(uri, 2, 7, "Presentation"); + qmlRegisterType<Q3DSViewerSettings, 2>(uri, 2, 7, "ViewerSettings"); qmlRegisterRevision<Q3DSPresentation, 2>(uri, 2, 7); // Automatically register the latest version diff --git a/src/api/studio3dqml/q3dsrenderer.cpp b/src/api/studio3dqml/q3dsrenderer.cpp index 1f78bf7..f7bd25b 100644 --- a/src/api/studio3dqml/q3dsrenderer.cpp +++ b/src/api/studio3dqml/q3dsrenderer.cpp @@ -351,6 +351,8 @@ void Q3DSRenderer::processCommands() m_settings->setStereoMode(m_commands.m_stereoMode); if (m_commands.m_stereoEyeSeparationChanged) m_settings->setStereoEyeSeparation(m_commands.m_stereoEyeSeparation); + if (m_commands.m_stereoProgressiveEnabledChanged) + m_settings->setStereoProgressiveEnabled(m_commands.m_stereoProgressiveEnabled); if (m_commands.m_shadeModeChanged) m_settings->setShadeMode(m_commands.m_shadeMode); if (m_commands.m_matteColorChanged) |