summaryrefslogtreecommitdiffstats
path: root/src/Viewer/qmlviewer/Qt3DSView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Viewer/qmlviewer/Qt3DSView.cpp')
-rw-r--r--src/Viewer/qmlviewer/Qt3DSView.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Viewer/qmlviewer/Qt3DSView.cpp b/src/Viewer/qmlviewer/Qt3DSView.cpp
index 08103d5e..13a2845d 100644
--- a/src/Viewer/qmlviewer/Qt3DSView.cpp
+++ b/src/Viewer/qmlviewer/Qt3DSView.cpp
@@ -161,6 +161,8 @@ void Q3DSView::reset()
// Fake a source change to trigger a reloading of the presentation
m_pendingCommands.m_sourceChanged = true;
m_pendingCommands.m_source = m_presentation->source();
+ m_pendingCommands.m_variantListChanged = true;
+ m_pendingCommands.m_variantList = m_presentation->variantList();
}
void Q3DSView::requestResponseHandler(const QString &elementPath, CommandType commandType,