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/creator | |
parent | 7d5ef14d5fa7301778ae9f0d80b68a04107e4ef2 (diff) |
run script in the text editor is back. UI scripts dont work yet.
Diffstat (limited to 'source/creator')
-rw-r--r-- | source/creator/creator.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c index 0160ac7acb2..ad50e425415 100644 --- a/source/creator/creator.c +++ b/source/creator/creator.c @@ -687,7 +687,7 @@ int main(int argc, char **argv) //XXX // FOR TESTING ONLY a++; - BPY_run_python_script(C, argv[a]); + BPY_run_python_script(C, argv[a], NULL); #if 0 a++; if (a < argc) { @@ -696,7 +696,7 @@ int main(int argc, char **argv) main_init_screen(); scr_init = 1; } - BPY_run_python_script(C, argv[a]); + BPY_run_python_script(C, argv[a], NULL); } else printf("\nError: you must specify a Python script after '-P '.\n"); #endif |