-f argument uses MINFRAME instead of 1 (makes it possible to render negative frames on command line). Not that useful, but it's good to use the same limit everywhere.

This commit is contained in:
Martin Poirier 2009-10-09 20:44:50 +00:00
parent 1234f4709b
commit 7d07342c09

@ -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);
}