diff options
author | Sergey Sharybin <sergey@blender.org> | 2021-09-23 11:41:06 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2021-09-23 11:41:06 +0300 |
commit | 12924ed573c9c4faf025a7cd2f61c53732667ad5 (patch) | |
tree | ad7d5a675240723e57307ccf0fb43e8ec1aeb699 /intern/cycles/blender/blender_session.cpp | |
parent | a351023bd50c19f09e9785245d029f6e57810aa9 (diff) |
Fix last Cycles tile highlighted while file from disk is being processed
Diffstat (limited to 'intern/cycles/blender/blender_session.cpp')
-rw-r--r-- | intern/cycles/blender/blender_session.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/intern/cycles/blender/blender_session.cpp b/intern/cycles/blender/blender_session.cpp index d65d89a7ddd..33092129ddf 100644 --- a/intern/cycles/blender/blender_session.cpp +++ b/intern/cycles/blender/blender_session.cpp @@ -557,6 +557,11 @@ void BlenderSession::render(BL::Depsgraph &b_depsgraph_) /* free result without merging */ b_engine.end_result(b_rr, true, false, false); + /* When tiled rendering is used there will be no "write" done for the tile. Forcefully clear + * highlighted tiles now, so that the highlight will be removed while processing full frame from + * file. */ + b_engine.tile_highlight_clear_all(); + double total_time, render_time; session->progress.get_time(total_time, render_time); VLOG(1) << "Total render time: " << total_time; |