diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-02-07 22:49:37 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-02-07 22:59:48 +0300 |
commit | 17300991c30df87b84badf524ea92bb1cb77d8c5 (patch) | |
tree | 44cc5f29d6e4a9428712bc9feeefdc1b7b5d1813 /intern/cycles | |
parent | 6fdc688cd06c4b97d6e3e6767f0263b534f4158c (diff) |
Fix wrong Cycles render status text when only writing denoising passes.
In that case we do prefiltering for the denoising passes, but don't actually
denoise the image.
Diffstat (limited to 'intern/cycles')
-rw-r--r-- | intern/cycles/render/session.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/intern/cycles/render/session.cpp b/intern/cycles/render/session.cpp index 3cee3b8bece..abed5c13f9b 100644 --- a/intern/cycles/render/session.cpp +++ b/intern/cycles/render/session.cpp @@ -927,9 +927,12 @@ void Session::update_status_time(bool show_pause, bool show_done) */ substatus += string_printf(", Sample %d/%d", progress.get_current_sample(), num_samples); } - if(params.run_denoising) { + if(params.full_denoising) { substatus += string_printf(", Denoised %d tiles", progress.get_denoised_tiles()); } + else if(params.run_denoising) { + substatus += string_printf(", Prefiltered %d tiles", progress.get_denoised_tiles()); + } } else if(tile_manager.num_samples == INT_MAX) substatus = string_printf("Path Tracing Sample %d", progressive_sample+1); |