diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-08-06 06:34:50 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-08-06 06:34:50 +0400 |
commit | 44376a322ff9afb26a6116d5b3e92e10627f23fd (patch) | |
tree | 620bd7dbb3cec4524cd99a6264a432023c72d366 | |
parent | 2acf6e9d841c7d813c21bcc37ffcbeaa8cfa1d2a (diff) |
Frame reporting to console was wrong when not using Render Layers in compo
This is because render info's current frame is either happens in
conversion stage (when using Render Layers node) or in sequencer's
rendering (which you don't usually have).
Now made it so when only compositor is used, proper current frame
is being set to re->i stats structure.
-rw-r--r-- | source/blender/render/intern/source/pipeline.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/render/intern/source/pipeline.c b/source/blender/render/intern/source/pipeline.c index 848e94c8d4b..899c9b335be 100644 --- a/source/blender/render/intern/source/pipeline.c +++ b/source/blender/render/intern/source/pipeline.c @@ -1927,6 +1927,8 @@ static void do_render_composite_fields_blur_3d(Render *re) do_render_fields_blur_3d(re); } else { + re->i.cfra = re->r.cfra; + /* ensure new result gets added, like for regular renders */ BLI_rw_mutex_lock(&re->resultmutex, THREAD_LOCK_WRITE); |