diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-03-04 16:26:33 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-03-04 16:26:33 +0300 |
commit | 36c3ed2350bb504b1b0a7a378d2d40a73bc3a769 (patch) | |
tree | f50dde4d57eb7ebbbb4b041e5930b55ca3be2ce9 /source/blender/editors/space_script/space_script.c | |
parent | 7d5ef14d5fa7301778ae9f0d80b68a04107e4ef2 (diff) |
run script in the text editor is back. UI scripts dont work yet.
Diffstat (limited to 'source/blender/editors/space_script/space_script.c')
-rw-r--r-- | source/blender/editors/space_script/space_script.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_script/space_script.c b/source/blender/editors/space_script/space_script.c index 8fedcd8761f..054033fd987 100644 --- a/source/blender/editors/space_script/space_script.c +++ b/source/blender/editors/space_script/space_script.c @@ -155,10 +155,10 @@ static void script_main_area_draw(const bContext *C, ARegion *ar) UI_view2d_view_ortho(C, v2d); /* data... */ - // BPY_run_python_script(C, "/root/blender-svn/blender25/test.py"); + // BPY_run_python_script(C, "/root/blender-svn/blender25/test.py", NULL); if (sscript->script) { - //BPY_run_python_script_space(scpt->script.filename); + //BPY_run_python_script_space(scpt->script.filename, NULL); BPY_run_script_space_draw(C, sscript); } |