mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 06:58:56 +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) {
|
if (_targetScale != newValue) {
|
||||||
_targetScale = newValue;
|
_targetScale = newValue;
|
||||||
_scaleChanged = usecTimestampNow();
|
_scaleChanged = usecTimestampNow();
|
||||||
|
_avatarScaleChanged = _scaleChanged;
|
||||||
_isAnimatingScale = true;
|
_isAnimatingScale = true;
|
||||||
|
|
||||||
emit targetScaleChanged(targetScale);
|
emit targetScaleChanged(targetScale);
|
||||||
|
|
Loading…
Reference in a new issue