Merge branch 'master' of https://github.com/worklist/hifi into armstrong

This commit is contained in:
Andrzej Kapolka 2014-01-14 16:19:10 -08:00
commit 242597bbda

View file

@ -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);