when you unlock the transitions you now start in stand state

This commit is contained in:
amantley 2018-10-12 16:47:53 -07:00
parent ee830cdcb0
commit 90c9e578c8

View file

@ -3904,6 +3904,10 @@ void MyAvatar::setIsSitStandStateLocked(bool isLocked) {
_sumUserHeightSensorSpace = DEFAULT_AVATAR_HEIGHT;
_tippingPoint = DEFAULT_FLOOR_HEIGHT;
_averageUserHeightCount = 1;
if (!isLocked) {
// always start the auto transition mode in standing state.
setIsInSittingState(false);
}
emit sitStandStateLockEnabledChanged(isLocked);
}