diff options
author | Howard Trickey <howard.trickey@gmail.com> | 2014-02-08 19:52:56 +0400 |
---|---|---|
committer | Howard Trickey <howard.trickey@gmail.com> | 2014-02-08 19:52:56 +0400 |
commit | da33a557bcfbdc44d9503053bde47f235c97dc80 (patch) | |
tree | 24182b8932f69947cd226192589d2399df26ef8e /source/blender/editors/space_script | |
parent | 3276b83fda1e49bd007872c8dcd0f1b4c62063a3 (diff) |
Fixes to make script_load_keymap test pass.
Removed Armature Sketch keymap, as the entries that were there
appear to have been moved to the Armature keymap.
Removed the Script keymap. The Script space is deprecated
and I could find no way that the keymap could be activated.
Diffstat (limited to 'source/blender/editors/space_script')
-rw-r--r-- | source/blender/editors/space_script/script_ops.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/source/blender/editors/space_script/script_ops.c b/source/blender/editors/space_script/script_ops.c index 7398126a8e5..045df87d8db 100644 --- a/source/blender/editors/space_script/script_ops.c +++ b/source/blender/editors/space_script/script_ops.c @@ -59,11 +59,8 @@ void script_operatortypes(void) WM_operatortype_append(SCRIPT_OT_autoexec_warn_clear); } -void script_keymap(wmKeyConfig *keyconf) +void script_keymap(wmKeyConfig *UNUSED(keyconf)) { - wmKeyMap *keymap = WM_keymap_find(keyconf, "Script", SPACE_SCRIPT, 0); - - /* TODO - this is just while we have no way to load a text datablock */ - RNA_string_set(WM_keymap_add_item(keymap, "SCRIPT_OT_python_file_run", PKEY, KM_PRESS, KM_CTRL | KM_SHIFT | KM_ALT, 0)->ptr, "filepath", "test.py"); + /* Script space is deprecated, and doesn't need a keymap */ } |