Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/creator/creator.c')
-rw-r--r--source/creator/creator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c
index 471ea6bbe5b..5c10b0c346c 100644
--- a/source/creator/creator.c
+++ b/source/creator/creator.c
@@ -679,7 +679,7 @@ int main(int argc, char **argv)
//XXX
// FOR TESTING ONLY
a++;
- BPY_run_python_script (argv[a]);
+ BPY_run_python_script(C, argv[a]);
#if 0
a++;
if (a < argc) {
@@ -688,7 +688,7 @@ int main(int argc, char **argv)
main_init_screen();
scr_init = 1;
}
- BPY_run_python_script (argv[a]);
+ BPY_run_python_script(C, argv[a]);
}
else printf("\nError: you must specify a Python script after '-P '.\n");
#endif