diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2011-01-23 20:25:27 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2011-01-23 20:25:27 +0300 |
commit | d58c31704b7984687f001ea617af4d3ff85fd591 (patch) | |
tree | 2ba49c71ba4ed270ac14d6f70a4c5edc6e0a9bcd /release | |
parent | fc66b3f2efcb5b7579f06c1966900b2ecf3c1310 (diff) |
BGE: option in the UI to start with the mouse cursor visible. Patch by Vitor Balbio, changes by me.
----------------------------------
While we are more and more moving towards enabling features in the Python API, it's also important to have Logic Bricks working with no scripts.
This option allows you to start the game with the mouse cursor on (it's on Render Buttons). The defalt is still off (no do_version needed here).
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/ui/properties_game.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/release/scripts/ui/properties_game.py b/release/scripts/ui/properties_game.py index 856ae624566..cb0dbc03912 100644 --- a/release/scripts/ui/properties_game.py +++ b/release/scripts/ui/properties_game.py @@ -217,7 +217,9 @@ class RENDER_PT_game_player(RenderButtonsPanel, bpy.types.Panel): gs = context.scene.game_settings - layout.prop(gs, "show_fullscreen") + row = layout.row() + row.prop(gs, "show_fullscreen") + row.prop(gs, "show_mouse") split = layout.split() |