diff --git a/source/blender/animrig/intern/action.cc b/source/blender/animrig/intern/action.cc index 5a1769771c4..efb4c82f2c3 100644 --- a/source/blender/animrig/intern/action.cc +++ b/source/blender/animrig/intern/action.cc @@ -124,7 +124,7 @@ template static void shrink_array(T **array, int *num, const int shr bool Action::is_empty() const { - /* The check for emptyness has to include the check for an empty `groups` ListBase because of the + /* The check for emptiness has to include the check for an empty `groups` ListBase because of the * animation filtering code. With the functions `rearrange_action_channels` and * `join_groups_action_temp` the ownership of FCurves is temporarily transferred to the `groups` * ListBase leaving `curves` potentially empty. */ diff --git a/source/blender/blenloader/intern/writefile.cc b/source/blender/blenloader/intern/writefile.cc index b27deb7b580..f6574eab330 100644 --- a/source/blender/blenloader/intern/writefile.cc +++ b/source/blender/blenloader/intern/writefile.cc @@ -1271,8 +1271,8 @@ static bool write_file_handle(Main *mainvar, FOREACH_MAIN_ID_END; } - /* Recompute all ID usercounts if requested. Allows to avoid skipping writing of IDs wrongly - * detected as unused due to invalid usercount. */ + /* Recompute all ID user-counts if requested. Allows to avoid skipping writing of IDs wrongly + * detected as unused due to invalid user-count. */ if (!wd->use_memfile) { if (USER_EXPERIMENTAL_TEST(&U, use_recompute_usercount_on_save_debug)) { BKE_main_id_refcount_recompute(mainvar, false); diff --git a/source/blender/draw/engines/eevee_next/shaders/eevee_light_shadow_setup_comp.glsl b/source/blender/draw/engines/eevee_next/shaders/eevee_light_shadow_setup_comp.glsl index 9353eb771c1..7fb3e3da15f 100644 --- a/source/blender/draw/engines/eevee_next/shaders/eevee_light_shadow_setup_comp.glsl +++ b/source/blender/draw/engines/eevee_next/shaders/eevee_light_shadow_setup_comp.glsl @@ -253,7 +253,7 @@ void main() { uint l_idx = gl_GlobalInvocationID.x; /* We are dispatching (with padding) over the culled light array. - * This array is not contiguous. Visible local lights are packed at the begining + * This array is not contiguous. Visible local lights are packed at the beginning * and directional lights at the end. There is a range of uninitialized value in between that * needs to be avoided. */ bool valid_local = (l_idx < light_cull_buf.visible_count); diff --git a/source/blender/draw/engines/eevee_next/shaders/eevee_shadow_tilemap_lib.glsl b/source/blender/draw/engines/eevee_next/shaders/eevee_shadow_tilemap_lib.glsl index ae21603fc37..2d9e7bd96ad 100644 --- a/source/blender/draw/engines/eevee_next/shaders/eevee_shadow_tilemap_lib.glsl +++ b/source/blender/draw/engines/eevee_next/shaders/eevee_shadow_tilemap_lib.glsl @@ -7,7 +7,7 @@ #pragma BLENDER_REQUIRE(gpu_shader_utildefines_lib.glsl) /** - * Select the smallest viewport that can contain the given rect of tiles to render. + * Select the smallest viewport that can contain the given rectangle of tiles to render. * Returns the viewport size in tile. */ ivec2 shadow_viewport_size_get(uint viewport_index) diff --git a/source/blender/draw/engines/eevee_next/shaders/eevee_shadow_tilemap_rendermap_comp.glsl b/source/blender/draw/engines/eevee_next/shaders/eevee_shadow_tilemap_rendermap_comp.glsl index 68059590e5d..c4ec4e9dc24 100644 --- a/source/blender/draw/engines/eevee_next/shaders/eevee_shadow_tilemap_rendermap_comp.glsl +++ b/source/blender/draw/engines/eevee_next/shaders/eevee_shadow_tilemap_rendermap_comp.glsl @@ -55,7 +55,7 @@ void main() dst_coord_buf[page_index] = page_packed; src_coord_buf[page_index] = packUvec4x8( uvec4(relative_tile_co.x, relative_tile_co.y, view_index, 0)); - /* Tag tile as rendered. Should be safe since only one thread is reading and writting. */ + /* Tag tile as rendered. Should be safe since only one thread is reading and writing. */ tiles_buf[tile_index] |= SHADOW_IS_RENDERED; /* Statistics. */ atomicAdd(statistics_buf.page_rendered_count, 1); diff --git a/source/blender/draw/engines/eevee_next/shaders/eevee_shadow_tracing_lib.glsl b/source/blender/draw/engines/eevee_next/shaders/eevee_shadow_tracing_lib.glsl index 4305507d1e1..9c14c75ece4 100644 --- a/source/blender/draw/engines/eevee_next/shaders/eevee_shadow_tracing_lib.glsl +++ b/source/blender/draw/engines/eevee_next/shaders/eevee_shadow_tracing_lib.glsl @@ -269,7 +269,7 @@ ShadowRayPunctual shadow_ray_generate_punctual(LightData light, vec2 random_2d, /* Clip the ray to not cross the near plane. * Avoid traces that starts on tiles that have not been queried, creating noise. */ float clip_distance = length(lP - shadow_position) - clip_near; - /* Still clamp to a minimal size to avoid isssue with zero length vectors. */ + /* Still clamp to a minimal size to avoid issue with zero length vectors. */ direction *= saturate(1e-6 + clip_distance * inversesqrt(length_squared(direction))); /* Compute the ray again. */ diff --git a/tools/check_source/check_spelling_config.py b/tools/check_source/check_spelling_config.py index 1f0821c8841..da89bbfec1a 100644 --- a/tools/check_source/check_spelling_config.py +++ b/tools/check_source/check_spelling_config.py @@ -349,6 +349,7 @@ dict_custom = { "reupload", "reusability", "rotationally", + "sanitization", "saveable", "schemas", "scrollable",