diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-04-23 10:58:02 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-04-23 10:58:02 +0400 |
commit | 1ed95e0450d9d7e5a98141b209640ffd0283ab9d (patch) | |
tree | 0431979195c7cd2ce86dc9b28e3038311d7b3556 /source/blender/editors/space_script/script_ops.c | |
parent | d00c3ef2d6339aa01ddbc56bacd20f1ef4473a27 (diff) |
F8Key reloads all python scripts and redraws for quick testing
F7 runs test.py also for testing
Diffstat (limited to 'source/blender/editors/space_script/script_ops.c')
-rw-r--r-- | source/blender/editors/space_script/script_ops.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); } |