forked from bartvdbraak/blender
Cycles: Fix amount of rendered samples not being shown while rendering the last tile on CPU
This commit is contained in:
parent
1455023e64
commit
4a19112277
@ -458,6 +458,8 @@ void Session::release_tile(RenderTile& rtile)
|
|||||||
{
|
{
|
||||||
thread_scoped_lock tile_lock(tile_mutex);
|
thread_scoped_lock tile_lock(tile_mutex);
|
||||||
|
|
||||||
|
progress.add_finished_tile();
|
||||||
|
|
||||||
if(write_render_tile_cb) {
|
if(write_render_tile_cb) {
|
||||||
if(params.progressive_refine == false) {
|
if(params.progressive_refine == false) {
|
||||||
/* todo: optimize this by making it thread safe and removing lock */
|
/* todo: optimize this by making it thread safe and removing lock */
|
||||||
|
Loading…
Reference in New Issue
Block a user