svn merge -r37900:38000 https://svn.blender.org/svnroot/bf-blender/trunk/blender
This commit is contained in:
@@ -797,7 +797,9 @@ static int render_frame(int argc, const char **argv, void *data)
|
||||
|
||||
frame = MIN2(MAXFRAME, MAX2(MINAFRAME, frame));
|
||||
|
||||
RE_BlenderAnim(re, bmain, scene, NULL, scene->lay, frame, frame, scene->r.frame_step, &reports);
|
||||
RE_SetReports(re, &reports);
|
||||
RE_BlenderAnim(re, bmain, scene, NULL, scene->lay, frame, frame, scene->r.frame_step);
|
||||
RE_SetReports(re, NULL);
|
||||
return 1;
|
||||
} else {
|
||||
printf("\nError: frame number must follow '-f / --render-frame'.\n");
|
||||
@@ -818,7 +820,9 @@ static int render_animation(int UNUSED(argc), const char **UNUSED(argv), void *d
|
||||
Render *re= RE_NewRender(scene->id.name);
|
||||
ReportList reports;
|
||||
BKE_reports_init(&reports, RPT_PRINT);
|
||||
RE_BlenderAnim(re, bmain, scene, NULL, scene->lay, scene->r.sfra, scene->r.efra, scene->r.frame_step, &reports);
|
||||
RE_SetReports(re, &reports);
|
||||
RE_BlenderAnim(re, bmain, scene, NULL, scene->lay, scene->r.sfra, scene->r.efra, scene->r.frame_step);
|
||||
RE_SetReports(re, NULL);
|
||||
} else {
|
||||
printf("\nError: no blend loaded. cannot use '-a'.\n");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user