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
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2009-07-22 14:12:00 +0400
committerCampbell Barton <ideasman42@gmail.com>2009-07-22 14:12:00 +0400
commit25f7b351aaddeeab8a6145c73e45040ba6a9aed9 (patch)
treecfa6c8701cabe452d4c9ac835394a8ac1c6bf6fe /source
parent1a42f8c77e3776003815e3e85e765d872111e45a (diff)
missed this file
Diffstat (limited to 'source')
-rw-r--r--source/creator/creator.c18
1 files changed, 2 insertions, 16 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c
index 8e0152b5e63..a3e5ca16a13 100644
--- a/source/creator/creator.c
+++ b/source/creator/creator.c
@@ -211,7 +211,7 @@ static void print_help(void)
printf (" -nojoystick\tDisable joystick support\n");
printf (" -noglsl\tDisable GLSL shading\n");
printf (" -h\t\tPrint this help text\n");
- printf (" -y\t\tDisable automatic python script execution (scriptlinks, pydrivers, pyconstraints, pynodes)\n");
+ printf (" -y\t\tDisable automatic python script execution (pydrivers, pyconstraints, pynodes)\n");
printf (" -P <filename>\tRun the given Python script (filename or Blender Text)\n");
#ifdef WIN32
printf (" -R\t\tRegister .blend extension\n");
@@ -626,14 +626,8 @@ int main(int argc, char **argv)
Render *re = RE_NewRender(scene->id.name);
frame = MIN2(MAXFRAME, MAX2(1, frame));
-#ifndef DISABLE_PYTHON
- if (G.f & G_DOSCRIPTLINKS)
- BPY_do_all_scripts(SCRIPT_RENDER, 0);
-#endif
+
RE_BlenderAnim(re, scene, frame, frame, scene->frame_step);
-#ifndef DISABLE_PYTHON
- BPY_do_all_scripts(SCRIPT_POSTRENDER, 0);
-#endif
}
} else {
printf("\nError: no blend loaded. cannot use '-f'.\n");
@@ -643,15 +637,7 @@ int main(int argc, char **argv)
if (CTX_data_scene(C)) {
Scene *scene= CTX_data_scene(C);
Render *re= RE_NewRender(scene->id.name);
-#ifndef DISABLE_PYTHON
- if (G.f & G_DOSCRIPTLINKS)
- BPY_do_all_scripts(SCRIPT_RENDER, 1);
-#endif
RE_BlenderAnim(re, scene, scene->r.sfra, scene->r.efra, scene->frame_step);
-#ifndef DISABLE_PYTHON
- if (G.f & G_DOSCRIPTLINKS)
- BPY_do_all_scripts(SCRIPT_POSTRENDER, 1);
-#endif
} else {
printf("\nError: no blend loaded. cannot use '-a'.\n");
}