Fix #114521: Walk navigation global up does not work #114526

Merged
Pratik Borhade merged 1 commits from PratikPB2123/blender:114521-walk-global-up into main 2023-11-06 11:24:44 +01:00
1 changed files with 1 additions and 1 deletions

View File

@ -1267,7 +1267,7 @@ static int walkApply(bContext *C, WalkInfo *walk, bool is_confirm)
/* Up and down movement is only available in free mode, not gravity mode. */
if (walk->navigation_mode == WALK_MODE_FREE) {
if (walk->active_directions & (WALK_BIT_LOCAL_UP | WALK_BIT_GLOBAL_DOWN)) {
if (walk->active_directions & (WALK_BIT_GLOBAL_UP | WALK_BIT_GLOBAL_DOWN)) {
direction = 0;