mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:44:02 +02:00
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:
commit
c2c744b44e
1 changed files with 1 additions and 0 deletions
|
@ -296,6 +296,7 @@ void Avatar::setTargetScale(float targetScale) {
|
|||
if (_targetScale != newValue) {
|
||||
_targetScale = newValue;
|
||||
_scaleChanged = usecTimestampNow();
|
||||
_avatarScaleChanged = _scaleChanged;
|
||||
_isAnimatingScale = true;
|
||||
|
||||
emit targetScaleChanged(targetScale);
|
||||
|
|
Loading…
Reference in a new issue