View3d - walk: expose gravity toggle to keymap

This commit is contained in:
Dalai Felinto 2014-10-30 22:16:43 -02:00
parent be7b943cd2
commit 625843d84d
Notes: blender-bot 2023-02-14 09:54:16 +01:00
Referenced by issue #42459, Knife cut fails at different scales (float precision)
Referenced by issue #42349, Windows Render command line Cycles Crash!
1 changed files with 2 additions and 0 deletions

View File

@ -152,6 +152,8 @@ void walk_modal_keymap(wmKeyConfig *keyconf)
{WALK_MODAL_JUMP, "JUMP", 0, "Jump", "Jump when in walk mode"},
{WALK_MODAL_JUMP_STOP, "JUMP_STOP", 0, "Jump Stop", "Stop pushing jump"},
{WALK_MODAL_TOGGLE, "GRAVITY_TOGGLE", 0, "Toggle Gravity", "Toggle gravity effect"},
{0, NULL, 0, NULL, NULL}};
wmKeyMap *keymap = WM_modalkeymap_get(keyconf, "View3D Walk Modal");