mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 23:43:18 +02:00
fix for joints not playing back
This commit is contained in:
parent
73a3a13c59
commit
db5aeddc0f
1 changed files with 2 additions and 1 deletions
|
@ -916,7 +916,8 @@ const float JOINT_PRIORITY = 2.0f;
|
|||
void MyAvatar::setJointRotations(QVector<glm::quat> jointRotations) {
|
||||
for (int i = 0; i < jointRotations.size(); ++i) {
|
||||
if (i < _jointData.size()) {
|
||||
_skeletonModel.setJointState(i, true, jointRotations[i]);
|
||||
// TODO change animation priority to proper value
|
||||
_skeletonModel.setJointState(i, true, jointRotations[i], 100.0f);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue