-f argument uses MINFRAME instead of 1 (makes it possible to render negative frames...
authorMartin Poirier <theeth@yahoo.com>
Fri, 9 Oct 2009 20:44:50 +0000 (20:44 +0000)
committerMartin Poirier <theeth@yahoo.com>
Fri, 9 Oct 2009 20:44:50 +0000 (20:44 +0000)
source/creator/creator.c

index 6f64628b4676a8060c52f3abdde0470b010a9c2d..6f90c2ffe8437cb4f694a9d1ab8fae984a2b20ac 100644 (file)
@@ -619,7 +619,7 @@ int main(int argc, char **argv)
                                                int frame = atoi(argv[a]);
                                                Render *re = RE_NewRender(scene->id.name);
 
-                                               frame = MIN2(MAXFRAME, MAX2(1, frame));
+                                               frame = MIN2(MAXFRAME, MAX2(MINAFRAME, frame));
                                                
                                                RE_BlenderAnim(re, scene, frame, frame, scene->frame_step);
                                        }