From 6c6a53fad357ad63d8128c33da7a84f172ef0b63 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 6 Sep 2022 16:25:20 +1000 Subject: Cleanup: spelling in comments, formatting, move comments into headers --- source/blender/nodes/composite/nodes/node_composite_image.cc | 2 +- source/blender/nodes/shader/nodes/node_shader_bsdf_principled.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/nodes') diff --git a/source/blender/nodes/composite/nodes/node_composite_image.cc b/source/blender/nodes/composite/nodes/node_composite_image.cc index b6bd263b150..4d1eff0b940 100644 --- a/source/blender/nodes/composite/nodes/node_composite_image.cc +++ b/source/blender/nodes/composite/nodes/node_composite_image.cc @@ -535,7 +535,7 @@ class ImageOperation : public NodeOperation { /* Get a copy of the image user that is appropriate to retrieve the image buffer for the output * with the given identifier. This essentially sets the appropriate pass and view indices that - * corresponds to the output. */ + * corresponds to the output. */ ImageUser compute_image_user_for_output(StringRef identifier) { ImageUser image_user = *get_image_user(); diff --git a/source/blender/nodes/shader/nodes/node_shader_bsdf_principled.cc b/source/blender/nodes/shader/nodes/node_shader_bsdf_principled.cc index 2f75b7b533f..7b72d4b9be4 100644 --- a/source/blender/nodes/shader/nodes/node_shader_bsdf_principled.cc +++ b/source/blender/nodes/shader/nodes/node_shader_bsdf_principled.cc @@ -172,7 +172,7 @@ static int node_shader_gpu_bsdf_principled(GPUMaterial *mat, } /* Ref. T98190: Defines are optimizations for old compilers. - * Might become unecessary with EEVEE-Next. */ + * Might become unnecessary with EEVEE-Next. */ if (use_diffuse == false && use_refract == false && use_clear == true) { flag |= GPU_MATFLAG_PRINCIPLED_CLEARCOAT; } -- cgit v1.2.3