mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 09:24:00 +02:00
Fix compile error.
This commit is contained in:
parent
bd6418d4a4
commit
4c2b67f6f3
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ void MyAvatar::simulate(float deltaTime, Transmitter* transmitter) {
|
|||
_elapsedTimeMoving += deltaTime;
|
||||
}
|
||||
|
||||
if (_scale != _newScale) {
|
||||
if (_scale != _targetScale) {
|
||||
float scale = (1.f - SMOOTHING_RATIO) * _scale + SMOOTHING_RATIO * _targetScale;
|
||||
setScale(scale);
|
||||
Application::getInstance()->getCamera()->setScale(scale);
|
||||
|
|
Loading…
Reference in a new issue