mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
Fixing review comments
This commit is contained in:
parent
f43738e75a
commit
8c21ac144e
2 changed files with 2 additions and 2 deletions
|
@ -608,7 +608,7 @@ float MyAvatar::recorderElapsed() {
|
|||
if (!_recorder) {
|
||||
return 0;
|
||||
}
|
||||
return (float)_recorder->position();
|
||||
return (float)_recorder->position() / (float) MSECS_PER_SECOND;
|
||||
}
|
||||
|
||||
QMetaObject::Connection _audioClientRecorderConnection;
|
||||
|
|
|
@ -1664,7 +1664,7 @@ void avatarStateFromFrame(const QByteArray& frameData, AvatarData* _avatar) {
|
|||
auto worldTransform = currentBasis->worldTransform(relativeTransform);
|
||||
_avatar->setPosition(worldTransform.getTranslation());
|
||||
_avatar->setOrientation(worldTransform.getRotation());
|
||||
_avatar->setTargetScale(worldTransform.getScale().x);
|
||||
// _avatar->setTargetScale(worldTransform.getScale().x);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue