summaryrefslogtreecommitdiffstats
path: root/src/Runtime/Source/viewer/Qt3DSViewerApp.cpp
diff options
context:
space:
mode:
authorJanne Kangas <janne.kangas@qt.io>2019-03-21 13:38:12 +0200
committerJanne Kangas <janne.kangas@qt.io>2019-05-09 04:15:14 +0000
commit9859c764ea019fbe0e78a563c556afdc6cde7666 (patch)
treee876a8e804848d198d0fa339a0863de53c9d1ca2 /src/Runtime/Source/viewer/Qt3DSViewerApp.cpp
parentf699744899fa6d149b21ab4412a2588854ae8dbc (diff)
Remove circular build dependencywip/qtify
Duplicate enum defined in studio3d module on runtime side to avoid including the entire class from studio3d. Task-id: QT3DS-3396 Change-Id: I193b34614a8bbf991f717f8302061298b56e451e Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Diffstat (limited to 'src/Runtime/Source/viewer/Qt3DSViewerApp.cpp')
-rw-r--r--src/Runtime/Source/viewer/Qt3DSViewerApp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Runtime/Source/viewer/Qt3DSViewerApp.cpp b/src/Runtime/Source/viewer/Qt3DSViewerApp.cpp
index 4dd5dbd9..8bf7eb80 100644
--- a/src/Runtime/Source/viewer/Qt3DSViewerApp.cpp
+++ b/src/Runtime/Source/viewer/Qt3DSViewerApp.cpp
@@ -754,12 +754,12 @@ void Q3DSViewerApp::SetGlobalAnimationTime(qint64 inMilliSecs)
}
void Q3DSViewerApp::SetDataInputValue(
- const QString &name, const QVariant &value, Q3DSDataInput::ValueRole valueRole)
+ const QString &name, const QVariant &value, qt3ds::runtime::DataInputValueRole valueRole)
{
if (!m_Impl.m_view)
return;
- m_Impl.m_view->SetDataInputValue(name, value, valueRole);
+ m_Impl.m_view->SetDataInputValue(name, value, int(valueRole));
}
void Q3DSViewerApp::setPresentationId(const QString &id)