diff options
-rw-r--r-- | examples/qt3d/assimp/main.qml | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/examples/qt3d/assimp/main.qml b/examples/qt3d/assimp/main.qml index 9eaf21464..cf3b86f81 100644 --- a/examples/qt3d/assimp/main.qml +++ b/examples/qt3d/assimp/main.qml @@ -38,15 +38,20 @@ import QtQuick 2.0 as Quick import Qt3D.Core 2.0 import Qt3D.Render 2.0 import Qt3D.Examples 2.0 +import Qt3D.Input 2.0 Entity { - components: FrameGraph { - activeFrameGraph: ForwardRenderer { - clearColor: Qt.rgba(0, 0.5, 1, 1) - camera: camera - } - } + components: [ + FrameGraph { + activeFrameGraph: ForwardRenderer { + clearColor: Qt.rgba(0, 0.5, 1, 1) + camera: camera + } + }, + // Event Source will be set by the Qt3DQuickWindow + InputSettings { } + ] Camera { id: camera |