Cycles: Cleanup, style
This commit is contained in:
@@ -834,11 +834,11 @@ void Session::update_status_time(bool show_pause, bool show_done)
|
||||
|
||||
substatus = string_printf("Path Tracing Tile %d/%d", tile, num_tiles);
|
||||
|
||||
if(device->show_samples() || (is_cpu && is_last_tile))
|
||||
{
|
||||
if(device->show_samples() || (is_cpu && is_last_tile)) {
|
||||
/* Some devices automatically support showing the sample number:
|
||||
* - CUDADevice
|
||||
* - OpenCLDevice when using the megakernel (the split kernel renders multiple samples at the same time, so the current sample isn't really defined)
|
||||
* - OpenCLDevice when using the megakernel (the split kernel renders multiple
|
||||
* samples at the same time, so the current sample isn't really defined)
|
||||
* - CPUDevice when using one thread
|
||||
* For these devices, the current sample is always shown.
|
||||
*
|
||||
|
Reference in New Issue
Block a user