Revision: 21794
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=21794
Author:   campbellbarton
Date:     2009-07-22 12:12:00 +0200 (Wed, 22 Jul 2009)

Log Message:
-----------
missed this file

Modified Paths:
--------------
    branches/blender2.5/blender/source/creator/creator.c

Modified: branches/blender2.5/blender/source/creator/creator.c
===================================================================
--- branches/blender2.5/blender/source/creator/creator.c        2009-07-22 
10:09:59 UTC (rev 21793)
+++ branches/blender2.5/blender/source/creator/creator.c        2009-07-22 
10:12:00 UTC (rev 21794)
@@ -211,7 +211,7 @@
        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 @@
                                                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 @@
                                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");
                                }


_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to