[Bf-blender-cvs] [8e37a45] master: Fix (unreported) 'pad9' not shown by UserPrefs' KeyBinding filter.

Bastien Montagne noreply at git.blender.org
Fri Jan 2 18:26:22 CET 2015


Commit: 8e37a45ac06fe8f26f4eecaaa1a263fbe5012a06
Author: Bastien Montagne
Date:   Fri Jan 2 18:24:25 2015 +0100
Branches: master
https://developer.blender.org/rB8e37a45ac06fe8f26f4eecaaa1a263fbe5012a06

Fix (unreported) 'pad9' not shown by UserPrefs' KeyBinding filter.

Minor glicth, but still... Safe for 2.73.

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

M	release/scripts/modules/rna_keymap_ui.py

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

diff --git a/release/scripts/modules/rna_keymap_ui.py b/release/scripts/modules/rna_keymap_ui.py
index 12d99a0..21d1959 100644
--- a/release/scripts/modules/rna_keymap_ui.py
+++ b/release/scripts/modules/rna_keymap_ui.py
@@ -236,7 +236,7 @@ def draw_filtered(display_keymaps, filter_type, filter_text, layout):
                 "MMB": 'MIDDLEMOUSE',
                 })
             _EVENT_TYPE_MAP_EXTRA.update({
-                "%d" % i: "NUMPAD_%d" % i for i in range(9)
+                "%d" % i: "NUMPAD_%d" % i for i in range(10)
                 })
         # done with once off init




More information about the Bf-blender-cvs mailing list