Update comment which was remained in an old place

This commit is contained in:
Sergey Sharybin
2017-03-03 16:36:21 +01:00
parent 17cf423f30
commit 5f05dac28f

View File

@@ -886,14 +886,15 @@ static void write_result_func(TaskPool * __restrict pool,
*/
ReportList reports;
BKE_reports_init(&reports, oglrender->reports->flag & ~RPT_PRINT);
/* Do actual save logic here, depending on the file format. */
/* Do actual save logic here, depending on the file format.
*
* NOTE: We have to construct temporary scene with proper scene->r.cfra.
* This is because underlying calls do not use r.cfra but use scene
* for that.
*/
Scene tmp_scene = *scene;
tmp_scene.r.cfra = cfra;
if (is_movie) {
/* We have to construct temporary scene with proper scene->r.cfra.
* This is because underlying calls do not use r.cfra but use scene
* for that.
*/
ok = RE_WriteRenderViewsMovie(&reports,
rr,
&tmp_scene,