Cycles: Cleanup, indentation of comment
authorSergey Sharybin <sergey.vfx@gmail.com>
Fri, 21 Apr 2017 09:33:44 +0000 (11:33 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 21 Apr 2017 10:01:27 +0000 (12:01 +0200)
Was broken after principled commit.

intern/cycles/kernel/kernel_subsurface.h

index 6c8b7cca4ce4e37547376af7a1b851ef5d618df8..17b3cf033a1cd7f64580ba862d374f7d86373876 100644 (file)
@@ -158,7 +158,7 @@ ccl_device void subsurface_scatter_setup_diffuse_bsdf(ShaderData *sd, ShaderClos
                                sd->flag |= bsdf_principled_diffuse_setup(bsdf);
 
                                /* replace CLOSURE_BSDF_PRINCIPLED_DIFFUSE_ID with this special ID so render passes
-                               * can recognize it as not being a regular Disney principled diffuse closure */
+                                * can recognize it as not being a regular Disney principled diffuse closure */
                                bsdf->type = CLOSURE_BSDF_BSSRDF_PRINCIPLED_ID;
                        }
                }
@@ -170,7 +170,7 @@ ccl_device void subsurface_scatter_setup_diffuse_bsdf(ShaderData *sd, ShaderClos
                                sd->flag |= bsdf_diffuse_setup(bsdf);
 
                                /* replace CLOSURE_BSDF_DIFFUSE_ID with this special ID so render passes
-                               * can recognize it as not being a regular diffuse closure */
+                                * can recognize it as not being a regular diffuse closure */
                                bsdf->type = CLOSURE_BSDF_BSSRDF_ID;
                        }
                }