[Bf-blender-cvs] [625843d] master: View3d - walk: expose gravity toggle to keymap

Dalai Felinto noreply at git.blender.org
Fri Oct 31 01:17:01 CET 2014


Commit: 625843d84dd939ab74f785dbf4dd5a693f3cdc47
Author: Dalai Felinto
Date:   Thu Oct 30 22:16:43 2014 -0200
Branches: master
https://developer.blender.org/rB625843d84dd939ab74f785dbf4dd5a693f3cdc47

View3d - walk: expose gravity toggle to keymap

===================================================================

M	source/blender/editors/space_view3d/view3d_walk.c

===================================================================

diff --git a/source/blender/editors/space_view3d/view3d_walk.c b/source/blender/editors/space_view3d/view3d_walk.c
index c54948b..9b9b7a8 100644
--- a/source/blender/editors/space_view3d/view3d_walk.c
+++ b/source/blender/editors/space_view3d/view3d_walk.c
@@ -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");




More information about the Bf-blender-cvs mailing list