diff options
author | Matt Ebb <matt@mke3.net> | 2010-03-10 05:44:21 +0300 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2010-03-10 05:44:21 +0300 |
commit | d440f0392a45f968dc010657aadb05c16b216dc5 (patch) | |
tree | 6576e13f4cda0ff97b731f34a486908fe2ed9905 | |
parent | 15fae3c2693e9f658fd6d0dc87d9483758abcf9a (diff) |
Added Cmd-C/V for console copy and paste on mac os x.
-rw-r--r-- | source/blender/editors/space_console/space_console.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/editors/space_console/space_console.c b/source/blender/editors/space_console/space_console.c index 177cc0e83d0..6d55acf35ec 100644 --- a/source/blender/editors/space_console/space_console.c +++ b/source/blender/editors/space_console/space_console.c @@ -295,6 +295,11 @@ void console_keymap(struct wmKeyConfig *keyconf) WM_keymap_add_item(keymap, "CONSOLE_OT_copy", CKEY, KM_PRESS, KM_CTRL, 0); WM_keymap_add_item(keymap, "CONSOLE_OT_paste", VKEY, KM_PRESS, KM_CTRL, 0); +#ifdef __APPLE__ + WM_keymap_add_item(keymap, "CONSOLE_OT_copy", CKEY, KM_PRESS, KM_OSKEY, 0); + WM_keymap_add_item(keymap, "CONSOLE_OT_paste", VKEY, KM_PRESS, KM_OSKEY, 0); +#endif + WM_keymap_add_item(keymap, "CONSOLE_OT_select_set", LEFTMOUSE, KM_PRESS, 0, 0); RNA_string_set(WM_keymap_add_item(keymap, "CONSOLE_OT_insert", TABKEY, KM_PRESS, 0, 0)->ptr, "text", " "); /* fake tabs */ |