mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-15 21:18:06 +02:00
Fix an old confusing comment from 952b112271
This commit is contained in:
parent
ba5bea15b6
commit
4a0bde415b
1 changed files with 3 additions and 1 deletions
|
@ -5337,8 +5337,10 @@ void MyAvatar::setIsInWalkingState(bool isWalking) {
|
|||
|
||||
// Specify whether the user is sitting or standing in the real world.
|
||||
void MyAvatar::setIsInSittingState(bool isSitting) {
|
||||
// In updateSitStandState, we only change state if this timer is above a threshold (STANDING_TIMEOUT, SITTING_TIMEOUT).
|
||||
// This avoids changing state if the user sits and stands up quickly.
|
||||
_sitStandStateTimer = 0.0f;
|
||||
// on reset height we need the count to be more than one in case the user sits and stands up quickly.
|
||||
|
||||
_isInSittingState.set(isSitting);
|
||||
setResetMode(true);
|
||||
setSitStandStateChange(true);
|
||||
|
|
Loading…
Reference in a new issue