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.
This commit is contained in:
Sergey Sharybin
2013-08-06 02:34:50 +00:00
parent 2acf6e9d84
commit 44376a322f

View File

@@ -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);