fix for joints not playing back

This commit is contained in:
Atlante45 2014-08-14 10:58:00 -07:00
parent 73a3a13c59
commit db5aeddc0f

View file

@ -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);
}
}
}