diff options
author | Sean Harmer <sean.harmer@kdab.com> | 2016-05-27 10:27:11 +0100 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2016-05-27 10:45:37 +0000 |
commit | ff10a3d18e545682c3349dca1e60777504f5a558 (patch) | |
tree | 6dc0a4367a7dc7f04130672677eb538c01c742e2 /examples/qt3d | |
parent | 0b9b9c2a3ceeda4ba1457f91cab46cefffe0a4bc (diff) |
Fix input in scene3d example
Change-Id: I3a79b809477c27b13f25fb579beef3d6fc4c856f
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'examples/qt3d')
-rw-r--r-- | examples/qt3d/scene3d/AnimatedEntity.qml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/qt3d/scene3d/AnimatedEntity.qml b/examples/qt3d/scene3d/AnimatedEntity.qml index 0f6b7da1a..d1975cb47 100644 --- a/examples/qt3d/scene3d/AnimatedEntity.qml +++ b/examples/qt3d/scene3d/AnimatedEntity.qml @@ -50,6 +50,7 @@ import Qt3D.Core 2.0 import Qt3D.Render 2.0 +import Qt3D.Input 2.0 import Qt3D.Extras 2.0 import QtQuick 2.0 as QQ2 @@ -77,7 +78,8 @@ Entity { camera: camera clearColor: "transparent" } - } + }, + InputSettings { } ] PhongMaterial { |