summaryrefslogtreecommitdiffstats
path: root/src/Viewer/studio3d/q3dspresentation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Viewer/studio3d/q3dspresentation.cpp')
-rw-r--r--src/Viewer/studio3d/q3dspresentation.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Viewer/studio3d/q3dspresentation.cpp b/src/Viewer/studio3d/q3dspresentation.cpp
index e1ef5e1e..6884e0ee 100644
--- a/src/Viewer/studio3d/q3dspresentation.cpp
+++ b/src/Viewer/studio3d/q3dspresentation.cpp
@@ -267,7 +267,8 @@ void Q3DSPresentation::setDataInputValue(const QString &name, const QVariant &va
Q3DSDataInput::ValueRole valueRole)
{
if (d_ptr->m_viewerApp) {
- d_ptr->m_viewerApp->SetDataInputValue(name, value, valueRole);
+ d_ptr->m_viewerApp->SetDataInputValue(name, value,
+ (qt3ds::runtime::DataInputValueRole)valueRole);
} else if (d_ptr->m_commandQueue) {
d_ptr->m_commandQueue->queueCommand(QString(), CommandType_SetDataInputValue,
name, value, static_cast<int>(valueRole));