diff options
author | Thomas Szepe <HG1_public@gmx.net> | 2015-10-11 19:28:43 +0300 |
---|---|---|
committer | Thomas Szepe <HG1_public@gmx.net> | 2015-10-11 19:28:43 +0300 |
commit | 3dd83b533a032fe4e5e39a275e7f2fcff2beaf15 (patch) | |
tree | 279d9ffbd0b8ab0a1c2d723621b119c229fff66b /release | |
parent | 88005475db5a774edfc3c408b553b04379dbd147 (diff) |
BGE: Adding a Max Jumps value to the character physic window
Actually we only have a Python API that allows to change the max jumps value.
The patch also allows non programmers to change the maximum numbers of jumps.
Reviewers: panzergame, sybren, campbellbarton, lordloki, moguri, agoose77
Reviewed By: lordloki, moguri
Projects: #game_engine
Differential Revision: https://developer.blender.org/D1302
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_game.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_game.py b/release/scripts/startup/bl_ui/properties_game.py index 56cd4d0f491..9673d8c5ace 100644 --- a/release/scripts/startup/bl_ui/properties_game.py +++ b/release/scripts/startup/bl_ui/properties_game.py @@ -55,6 +55,7 @@ class PHYSICS_PT_game_physics(PhysicsButtonsPanel, Panel): layout.prop(game, "step_height", slider=True) layout.prop(game, "jump_speed") layout.prop(game, "fall_speed") + layout.prop(game, "max_jumps") elif physics_type in {'DYNAMIC', 'RIGID_BODY'}: split = layout.split() |