diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-10-31 15:31:25 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-10-31 15:31:25 +0400 |
commit | ebdc9056af48279884c3d014821cb4f75738beed (patch) | |
tree | 7e7c8010afcbe2f6f8d6a32ec1a7c792ee483db9 /release/scripts/startup/bl_ui/space_userpref_keymap.py | |
parent | c85488ff9ee69a5f51cfcc658e028fac6ffdab80 (diff) |
Fix for #29056: NDOF motion events not configurable in user preferences.
Diffstat (limited to 'release/scripts/startup/bl_ui/space_userpref_keymap.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_userpref_keymap.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/space_userpref_keymap.py b/release/scripts/startup/bl_ui/space_userpref_keymap.py index da498268b9b..81d67aa662c 100644 --- a/release/scripts/startup/bl_ui/space_userpref_keymap.py +++ b/release/scripts/startup/bl_ui/space_userpref_keymap.py @@ -186,10 +186,10 @@ class InputKeyMapPanel: sub = split.column() subrow = sub.row(align=True) - if map_type in {'KEYBOARD', 'NDOF'}: + if map_type == 'KEYBOARD': subrow.prop(kmi, "type", text="", event=True) subrow.prop(kmi, "value", text="") - elif map_type == 'MOUSE': + elif map_type in {'MOUSE', 'NDOF'}: subrow.prop(kmi, "type", text="") subrow.prop(kmi, "value", text="") |