Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2010-12-01 16:18:24 +0300
committerTon Roosendaal <ton@blender.org>2010-12-01 16:18:24 +0300
commit6090b1c5a729df9e091d8e368c9d6a3687a27836 (patch)
tree32bd6140ff2000aa957d4f597448d11dac1e6c31
parentb36ab837780c513ab38f56294092816e1fd67af9 (diff)
Bugfix #24903
GRLESS key was missing in RNA key list, so it didn't show up in keymap editor. Internally support for it worked already. Thanks to Milos Zajic for showing the fix.
-rw-r--r--source/blender/makesrna/intern/rna_wm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_wm.c b/source/blender/makesrna/intern/rna_wm.c
index 1c490e7951e..86ad964247f 100644
--- a/source/blender/makesrna/intern/rna_wm.c
+++ b/source/blender/makesrna/intern/rna_wm.c
@@ -101,7 +101,7 @@ EnumPropertyItem event_timer_type_items[]= {
{TIMER2, "TIMER2", 0, "Timer 2", ""},
{0, NULL, 0, NULL, NULL}};
-/* not returned: CAPSLOCKKEY, UNKNOWNKEY, GRLESSKEY */
+/* not returned: CAPSLOCKKEY, UNKNOWNKEY */
EnumPropertyItem event_type_items[] = {
{0, "NONE", 0, "", ""},
@@ -176,7 +176,7 @@ EnumPropertyItem event_type_items[] = {
{RIGHTSHIFTKEY, "RIGHT_SHIFT", 0, "Right Shift", ""},
{0, "", 0, NULL, NULL},
{OSKEY, "OSKEY", 0, "OS Key", ""},
- {0, "", 0, NULL, NULL},
+ {GRLESSKEY, "GRLESS", 0, "Grless", ""},
{ESCKEY, "ESC", 0, "Esc", ""},
{TABKEY, "TAB", 0, "Tab", ""},
{RETKEY, "RET", 0, "Return", ""},