From 36c3ed2350bb504b1b0a7a378d2d40a73bc3a769 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 4 Mar 2009 13:26:33 +0000 Subject: run script in the text editor is back. UI scripts dont work yet. --- source/blender/editors/space_script/space_script.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/editors/space_script/space_script.c') 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); } -- cgit v1.2.3