Fix #115909: Walk Navigation Up and Down is interrupted by WASD

Caused by 93f6001683 , 1b3cfcc74f .
Direction flag names was changed but the max value passed to `ENUM_OPERATORS`
wasn't pointing to actual max value.

Pull Request: https://projects.blender.org/blender/blender/pulls/115926
This commit is contained in:
Pratik Borhade
2023-12-08 15:52:03 +01:00
committed by Pratik Borhade
parent 65e58fe574
commit b9cbc5b335

View File

@@ -110,7 +110,7 @@ enum eWalkDirectionFlag {
WALK_BIT_GLOBAL_UP = 1 << 6,
WALK_BIT_GLOBAL_DOWN = 1 << 7,
};
ENUM_OPERATORS(eWalkDirectionFlag, WALK_BIT_LOCAL_DOWN)
ENUM_OPERATORS(eWalkDirectionFlag, WALK_BIT_GLOBAL_DOWN)
enum eWalkTeleportState {
WALK_TELEPORT_STATE_OFF = 0,