[Bf-blender-cvs] [5f05dac28f] master: Update comment which was remained in an old place
Sergey Sharybin
noreply at git.blender.org
Fri Mar 3 16:36:35 CET 2017
Commit: 5f05dac28fdfe4e97fb553ee38144cdb7fe9fbd5
Author: Sergey Sharybin
Date: Fri Mar 3 16:36:21 2017 +0100
Branches: master
https://developer.blender.org/rB5f05dac28fdfe4e97fb553ee38144cdb7fe9fbd5
Update comment which was remained in an old place
===================================================================
M source/blender/editors/render/render_opengl.c
===================================================================
diff --git a/source/blender/editors/render/render_opengl.c b/source/blender/editors/render/render_opengl.c
index 24e8af1c6e..90dac7c34c 100644
--- a/source/blender/editors/render/render_opengl.c
+++ b/source/blender/editors/render/render_opengl.c
@@ -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,
More information about the Bf-blender-cvs
mailing list