mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 11:37:58 +02:00
another clang error fix
This commit is contained in:
parent
778c8bf9a7
commit
bcb4cc32d2
1 changed files with 3 additions and 3 deletions
|
@ -113,9 +113,9 @@ void MySkeletonModel::updateRig(float deltaTime, glm::mat4 parentTransform) {
|
||||||
};
|
};
|
||||||
|
|
||||||
for (auto pair : secondaryControllers) {
|
for (auto pair : secondaryControllers) {
|
||||||
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.secondaryControllerPoses[pair.second] = avatarToRigPose * pose;
|
params.secondaryControllerPoses[pair.second] = avatarToRigPose * pose;
|
||||||
params.secondaryControllerActiveFlags[pair.second] = true;
|
params.secondaryControllerActiveFlags[pair.second] = true;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue