Style cleanup: indentation, braces
This commit is contained in:
@@ -51,7 +51,8 @@ ccl_device_inline void kernel_write_data_passes(KernelGlobals *kg, ccl_global fl
|
||||
if(!(path_flag & PATH_RAY_SINGLE_PASS_DONE)) {
|
||||
if(!(sd->flag & SD_TRANSPARENT) ||
|
||||
kernel_data.film.pass_alpha_threshold == 0.0f ||
|
||||
average(shader_bsdf_alpha(kg, sd)) >= kernel_data.film.pass_alpha_threshold) {
|
||||
average(shader_bsdf_alpha(kg, sd)) >= kernel_data.film.pass_alpha_threshold)
|
||||
{
|
||||
|
||||
if(sample == 0) {
|
||||
if(flag & PASS_DEPTH) {
|
||||
|
Reference in New Issue
Block a user