Cycles: More instant feedback on progressive rendering for first sample

Main purpose of this change is to make material preview appearing more
instant after the shader tweaks.
This commit is contained in:
Sergey Sharybin 2015-04-06 19:28:25 +05:00
parent b5f58c1ad9
commit d0aae79505
1 changed files with 1 additions and 1 deletions

View File

@ -891,7 +891,7 @@ bool Session::update_progressive_refine(bool cancel)
if(current_time - last_update_time < params.progressive_update_timeout) {
/* if last sample was processed, we need to write buffers anyway */
if(!write)
if(!write && sample != 1)
return false;
}