diff --git a/intern/cycles/kernel/camera/camera.h b/intern/cycles/kernel/camera/camera.h index 7066d0e41aa..dedf065dd4f 100644 --- a/intern/cycles/kernel/camera/camera.h +++ b/intern/cycles/kernel/camera/camera.h @@ -191,7 +191,7 @@ ccl_device void camera_sample_orthographic(KernelGlobals kg, D = normalize(Pfocus - lens_uvw); /* Compute position the ray will be if it traveled until it intersected the near clip plane. - * This allows for correct DOF while allowing near cliping. */ + * This allows for correct DOF while allowing near clipping. */ P = Pcamera + lens_uvw + (D * (kernel_data.cam.nearclip / D.z)); } else { diff --git a/source/blender/draw/engines/eevee_next/eevee_lookdev.cc b/source/blender/draw/engines/eevee_next/eevee_lookdev.cc index 54aab0ecbf3..4f70a1d9849 100644 --- a/source/blender/draw/engines/eevee_next/eevee_lookdev.cc +++ b/source/blender/draw/engines/eevee_next/eevee_lookdev.cc @@ -182,7 +182,7 @@ void LookdevModule::sync() for (int index : IndexRange(num_spheres)) { if (spheres_[index].color_tx_.ensure_2d(color_format, extent)) { - /* Request redraw if the lightprobe were off and the sampling was already finished. */ + /* Request redraw if the light-probe were off and the sampling was already finished. */ if (inst_.sampling.finished_viewport()) { inst_.sampling.reset(); } diff --git a/source/blender/draw/engines/eevee_next/shaders/eevee_occupancy_convert_frag.glsl b/source/blender/draw/engines/eevee_next/shaders/eevee_occupancy_convert_frag.glsl index f632a03f20e..9af38373d80 100644 --- a/source/blender/draw/engines/eevee_next/shaders/eevee_occupancy_convert_frag.glsl +++ b/source/blender/draw/engines/eevee_next/shaders/eevee_occupancy_convert_frag.glsl @@ -57,7 +57,7 @@ void main() /* True if last interface was a volume entry. */ /* Initialized to front facing if first hit is a backface to support camera inside the volume. */ bool last_frontfacing = !is_front_face_hit(hit_ordered[0]); - /* Add artificial backfacing hit to close volumes we entered but never exited. + /* Add artificial back-facing hit to close volumes we entered but never exited. * Fixes issues with non-manifold meshes or things like water planes. */ hit_ordered[hit_count] = -1.0; /* Bit index of the last interface. */ diff --git a/source/blender/editors/space_view3d/view3d_edit.cc b/source/blender/editors/space_view3d/view3d_edit.cc index 35e989bc045..7f4410f39e5 100644 --- a/source/blender/editors/space_view3d/view3d_edit.cc +++ b/source/blender/editors/space_view3d/view3d_edit.cc @@ -344,8 +344,8 @@ void VIEW3D_OT_render_border(wmOperatorType *ot) ot->poll = ED_operator_region_view3d_active; /* flags */ - /* No undo, edited data is usually not undoable, otherwise (camera view), a manual undo push is - * done. */ + /* No undo, edited data is usually not undo-able, otherwise (camera view), + * a manual undo push is done. */ ot->flag = OPTYPE_REGISTER; /* properties */ @@ -403,8 +403,8 @@ void VIEW3D_OT_clear_render_border(wmOperatorType *ot) ot->poll = ED_operator_view3d_active; /* flags */ - /* No undo, edited data is usually not undoable, otherwise (camera view), a manual undo push is - * done. */ + /* No undo, edited data is usually not undo-able, otherwise (camera view), + * a manual undo push is done. */ ot->flag = OPTYPE_REGISTER; } diff --git a/source/blender/makesdna/DNA_ID_enums.h b/source/blender/makesdna/DNA_ID_enums.h index b291e19678f..fa4fd1437b6 100644 --- a/source/blender/makesdna/DNA_ID_enums.h +++ b/source/blender/makesdna/DNA_ID_enums.h @@ -75,7 +75,7 @@ typedef enum eIDPropertyFlag { * This #IDProperty has a static type, i.e. its #eIDPropertyType cannot be changed by assigning a * new value to it. * - * Currently, array len is also considered as fixed (i.e. part of the type) when this flag is + * Currently, array length is also considered as fixed (i.e. part of the type) when this flag is * set. This allows to avoid IDProperty storing vectors e.g. to see their length modified. * * \note Currently, all overridable IDProp are also statically typed. IDProps used as storage for diff --git a/tools/check_source/check_cmake_consistency.py b/tools/check_source/check_cmake_consistency.py index c29a053dfcc..70274e3b7bf 100755 --- a/tools/check_source/check_cmake_consistency.py +++ b/tools/check_source/check_cmake_consistency.py @@ -369,7 +369,7 @@ def main() -> None: if cf not in global_c: print("missing_c: ", cf) - # Check if automake builds a corresponding .o file. + # Check if `automake` builds a corresponding `.o` file. ''' if cf in global_c: out1 = os.path.splitext(cf)[0] + ".o"