Blender Git Loki

Git Commits -> Revision ff62481

Revision ff62481 by Philipp Oeser (master)
March 27, 2020, 09:10 (GMT)
Fix T69060: File Output Node does not work with Time Remapping

Problem is that the RenderEngines will change the RenderData cfra when
rendering (when time remapping is used -- at least workbench/eevee/
gpencil do a combination of BKE_scene_frame_get() plus
RE_GetCameraWindow() which alters the RenderData cfra).

Later on in the pipeline, the Compositor will use this RenderData cfra
to determine the output file name for the FileOutput node. (In contrast
to this, the 'regular' Output will use the Scene's RenderData -- not the
Render's -- cfra [which hasnt been altered])

It is not entirely clear why RE_GetCameraWindow was setting the cfra on
the Render, but it appears to be legacy OGL rendering related and is not
needed anymore.
Removing this will keep the cfra as needed for the Compositor FileOutput
node.

Commit Details:

Full Hash: ff62481f65f079d56719ed03dd58b0e7ccc8d574
Parent Commit: d0b0a0a
Lines Changed: +5, -10

5 Modified Paths:

/source/blender/draw/engines/eevee/eevee_render.c (+1, -2) (Diff)
/source/blender/draw/engines/gpencil/gpencil_render.c (+1, -2) (Diff)
/source/blender/draw/engines/workbench/workbench_render.c (+1, -3) (Diff)
/source/blender/render/extern/include/RE_pipeline.h (+1, -1) (Diff)
/source/blender/render/intern/source/initrender.c (+1, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021