mirror of
https://github.com/overte-org/overte.git
synced 2025-04-10 17:22:25 +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) {
|
||||
auto pose = myAvatar->getControllerPoseInAvatarFrame(pair.first);
|
||||
if (pose.isValid()) {
|
||||
AnimPose pose(pose.getRotation(), pose.getTranslation());
|
||||
auto controllerPose = myAvatar->getControllerPoseInAvatarFrame(pair.first);
|
||||
if (controllerPose.isValid()) {
|
||||
AnimPose pose(controllerPose.getRotation(), controllerPose.getTranslation());
|
||||
params.secondaryControllerPoses[pair.second] = avatarToRigPose * pose;
|
||||
params.secondaryControllerActiveFlags[pair.second] = true;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue