mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 18:50:00 +02:00
clang build error fix
This commit is contained in:
parent
8f5c41af2d
commit
778c8bf9a7
1 changed files with 3 additions and 3 deletions
|
@ -82,9 +82,9 @@ void MySkeletonModel::updateRig(float deltaTime, glm::mat4 parentTransform) {
|
||||||
};
|
};
|
||||||
|
|
||||||
for (auto pair : primaryControllers) {
|
for (auto pair : primaryControllers) {
|
||||||
auto pose = myAvatar->getControllerPoseInAvatarFrame(pair.first);
|
auto controllerPose = myAvatar->getControllerPoseInAvatarFrame(pair.first);
|
||||||
if (pose.isValid()) {
|
if (controllerPose.isValid()) {
|
||||||
AnimPose pose(pose.getRotation(), pose.getTranslation());
|
AnimPose pose(controllerPose.getRotation(), controllerPose.getTranslation());
|
||||||
params.primaryControllerPoses[pair.second] = avatarToRigPose * pose;
|
params.primaryControllerPoses[pair.second] = avatarToRigPose * pose;
|
||||||
params.primaryControllerActiveFlags[pair.second] = true;
|
params.primaryControllerActiveFlags[pair.second] = true;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue