From 1ed95e0450d9d7e5a98141b209640ffd0283ab9d Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 23 Apr 2009 06:58:02 +0000 Subject: F8Key reloads all python scripts and redraws for quick testing F7 runs test.py also for testing --- source/blender/editors/space_script/script_ops.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/editors/space_script/script_ops.c') diff --git a/source/blender/editors/space_script/script_ops.c b/source/blender/editors/space_script/script_ops.c index 25aea4a8d65..aa35ba54b7f 100644 --- a/source/blender/editors/space_script/script_ops.c +++ b/source/blender/editors/space_script/script_ops.c @@ -60,6 +60,7 @@ void script_operatortypes(void) { WM_operatortype_append(SCRIPT_OT_python_file_run); + WM_operatortype_append(SCRIPT_OT_python_run_ui_scripts); } void script_keymap(wmWindowManager *wm) @@ -68,5 +69,6 @@ void script_keymap(wmWindowManager *wm) /* 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, "filename", "test.py"); + WM_keymap_add_item(keymap, "SCRIPT_OT_python_run_ui_scripts", PKEY, KM_PRESS, KM_SHIFT, 0); } -- cgit v1.2.3