diff options
author | Sean Harmer <sean.harmer@kdab.com> | 2017-08-10 20:41:17 +0100 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2017-08-16 13:19:28 +0000 |
commit | e11df19a6854c9fb4cb1138fa619d3030b9eea8b (patch) | |
tree | d233cd03611607ae825244fd96c3e4d8aa9452e4 /src/core/transforms | |
parent | a06c583bd21985d6b1da680fdb8dc6bebef18f9e (diff) |
Create SkeletonData from Joint backend nodes
This can be done either by using a QSkeleton on the frontend or
with a QSkeletonLoader that has the createJointsEnabled property
set to true. In the latter case, the loader creates the joint
node hierarchy on the backend then moves them to the main thread
in a similar way to QGeometryRenderer handles Geoemtry. Once the
joint hierarchy is set on the frontend QSkeletonLoader, it
notifies the backend and from there it follows the same code path
as for QSkeleton.
Change-Id: I5f673e154bb3a3e677b80b8ee984f4168403c288
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/core/transforms')
-rw-r--r-- | src/core/transforms/qskeleton_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/transforms/qskeleton_p.h b/src/core/transforms/qskeleton_p.h index 8f36af78d..c8b6554f9 100644 --- a/src/core/transforms/qskeleton_p.h +++ b/src/core/transforms/qskeleton_p.h @@ -52,6 +52,7 @@ // #include <Qt3DCore/private/qabstractskeleton_p.h> +#include <Qt3DCore/qskeleton.h> QT_BEGIN_NAMESPACE |