mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 11:45:36 +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) {
|
||||
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.primaryControllerPoses[pair.second] = avatarToRigPose * pose;
|
||||
params.primaryControllerActiveFlags[pair.second] = true;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue