summaryrefslogtreecommitdiffstats
path: root/tests/manual/skinned-mesh
diff options
context:
space:
mode:
authorSean Harmer <sean.harmer@kdab.com>2017-07-31 20:47:53 +0100
committerSean Harmer <sean.harmer@kdab.com>2017-08-09 13:04:51 +0000
commit91783b495928b5896aa2e4246ea8748b5fd7aaf8 (patch)
tree4186097c7a25c66f9e005ec27cf43c0bd2b0aded /tests/manual/skinned-mesh
parentd6ec5fbc54a1adbfd6b7405c96fc5f7eb88c2480 (diff)
Add jointCount property to QAbstractSkeleton
Set this from the backend when a skeleton is loaded. Change-Id: I752670b93b6ae1fad70534b5f8983ae2ca86fd78 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'tests/manual/skinned-mesh')
-rw-r--r--tests/manual/skinned-mesh/main.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/manual/skinned-mesh/main.qml b/tests/manual/skinned-mesh/main.qml
index f33aece45..cd553f03c 100644
--- a/tests/manual/skinned-mesh/main.qml
+++ b/tests/manual/skinned-mesh/main.qml
@@ -68,6 +68,7 @@ DefaultSceneEntity {
skeleton: SkeletonLoader {
source: "qrc:/assets/gltf/2.0/RiggedFigure/RiggedFigure.gltf"
onStatusChanged: console.log("skeleton loader status: " + status)
+ onJointCountChanged: console.log("skeleton has " + jointCount + " joints")
}
},
MetalRoughMaterial {