Merge pull request #14622 from SimonWalton-HiFi/avatar-scaling-delayed

Correctly set avatar-scale timestamp when changing in Avatar class
This commit is contained in:
Jeff Clinton 2019-01-04 10:00:46 -08:00 committed by GitHub
commit c2c744b44e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -296,6 +296,7 @@ void Avatar::setTargetScale(float targetScale) {
if (_targetScale != newValue) {
_targetScale = newValue;
_scaleChanged = usecTimestampNow();
_avatarScaleChanged = _scaleChanged;
_isAnimatingScale = true;
emit targetScaleChanged(targetScale);