[Bf-blender-cvs] [a912699] blender-v2.73-release: Fix (unreported) 'pad9' not shown by UserPrefs' KeyBinding filter.

Bastien Montagne noreply at git.blender.org
Tue Jan 6 10:44:59 CET 2015


Commit: a91269979252ef7d3c46a9c23b8c495cb20b65f8
Author: Bastien Montagne
Date:   Fri Jan 2 18:24:25 2015 +0100
Branches: blender-v2.73-release
https://developer.blender.org/rBa91269979252ef7d3c46a9c23b8c495cb20b65f8

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