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.
This commit is contained in:
@@ -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 */
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user