From f2c13f193cb67027b0b5c42866bc9250c0de1622 Mon Sep 17 00:00:00 2001 From: David Rowe Date: Fri, 28 Sep 2018 16:05:20 +1200 Subject: [PATCH] Don't jump in HMD mode unless option is set --- interface/src/avatar/MyAvatar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/src/avatar/MyAvatar.cpp b/interface/src/avatar/MyAvatar.cpp index e32380336f..d95a8e5ee7 100755 --- a/interface/src/avatar/MyAvatar.cpp +++ b/interface/src/avatar/MyAvatar.cpp @@ -3362,7 +3362,7 @@ float MyAvatar::getRawDriveKey(DriveKeys key) const { } void MyAvatar::relayDriveKeysToCharacterController() { - if (getDriveKey(TRANSLATE_Y) > 0.0f) { + if (getDriveKey(TRANSLATE_Y) > 0.0f && (!qApp->isHMDMode() || useAdvancedMovementControls() && getFlyingHMDPref())) { _characterController.jump(); } }