diff options
author | Sean Harmer <sean.harmer@kdab.com> | 2017-08-23 14:14:44 +0100 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2017-10-03 09:01:54 +0000 |
commit | 4f687846f48322cdfa8db3cf368a7fd5f5328e19 (patch) | |
tree | 16e4a9211699211b81152432615b4541b69b6959 /tests/manual/skinned-mesh/main.cpp | |
parent | 725e61a7c4651dc754c1a8318f193314e946cd07 (diff) |
Extend skinned mesh manual test to use an animator
Change-Id: I890abe966ba617f23a07137c6347fafac97ab591
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'tests/manual/skinned-mesh/main.cpp')
-rw-r--r-- | tests/manual/skinned-mesh/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/manual/skinned-mesh/main.cpp b/tests/manual/skinned-mesh/main.cpp index dba6e0bff..8e2ebcbfb 100644 --- a/tests/manual/skinned-mesh/main.cpp +++ b/tests/manual/skinned-mesh/main.cpp @@ -49,12 +49,14 @@ ****************************************************************************/ #include <Qt3DQuickExtras/qt3dquickwindow.h> +#include <Qt3DAnimation/QAnimationAspect> #include <QGuiApplication> int main(int argc, char* argv[]) { QGuiApplication app(argc, argv); Qt3DExtras::Quick::Qt3DQuickWindow view; + view.registerAspect(new Qt3DAnimation::QAnimationAspect()); view.setSource(QUrl("qrc:/main.qml")); view.show(); |