diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-08-12 07:34:43 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-08-12 07:34:43 +0300 |
commit | c741558509a35317209bbfd3ff77c413f791a47c (patch) | |
tree | 9a0ed82b338ca002283058c87282d26478eef3ae /source/blender | |
parent | 1ef275963d1cfa257de184f38a2abb04a5df3ac7 (diff) |
Cleanup: spelling in comments
Diffstat (limited to 'source/blender')
6 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/compositor/operations/COM_DilateErodeOperation.cc b/source/blender/compositor/operations/COM_DilateErodeOperation.cc index c67a35b686c..a27148f967d 100644 --- a/source/blender/compositor/operations/COM_DilateErodeOperation.cc +++ b/source/blender/compositor/operations/COM_DilateErodeOperation.cc @@ -500,7 +500,7 @@ void *ErodeStepOperation::initializeTileData(rcti *rect) int bwidth = rect->xmax - rect->xmin; int bheight = rect->ymax - rect->ymin; - /* NOTE: Cache buffer has original tilesize width, but new height. + /* NOTE: Cache buffer has original tile-size width, but new height. * We have to calculate the additional rows in the first pass, * to have valid data available for the second pass. */ tile_info *result = create_cache(rect->xmin, rect->xmax, ymin, ymax); diff --git a/source/blender/draw/engines/select/select_debug_engine.c b/source/blender/draw/engines/select/select_debug_engine.c index ded96be23f3..e9437c5ab92 100644 --- a/source/blender/draw/engines/select/select_debug_engine.c +++ b/source/blender/draw/engines/select/select_debug_engine.c @@ -19,7 +19,7 @@ /** \file * \ingroup draw_engine * - * Engine for debuging the selection map drawing. + * Engine for debugging the selection map drawing. */ #include "DNA_ID.h" diff --git a/source/blender/editors/space_file/file_ops.c b/source/blender/editors/space_file/file_ops.c index 08d741545a8..2f1acd2ca4d 100644 --- a/source/blender/editors/space_file/file_ops.c +++ b/source/blender/editors/space_file/file_ops.c @@ -1388,8 +1388,8 @@ int file_highlight_set(SpaceFile *sfile, ARegion *region, int mx, int my) FileSelectParams *params; int numfiles, origfile; - /* In case blender starts where the mouse is over a File broser, this operator can be invoked - * when the sfile or sfile->layout isn't initialized yet. */ + /* In case blender starts where the mouse is over a File browser, + * this operator can be invoked when the `sfile` or `sfile->layout` isn't initialized yet. */ if (sfile == NULL || sfile->files == NULL || sfile->layout == NULL) { return 0; } diff --git a/source/blender/makesdna/DNA_ID.h b/source/blender/makesdna/DNA_ID.h index 8a577be2749..10a5a0f1c47 100644 --- a/source/blender/makesdna/DNA_ID.h +++ b/source/blender/makesdna/DNA_ID.h @@ -587,7 +587,7 @@ enum { * * RESET_NEVER * - * NOTE: Only used by nodegroups currently. + * NOTE: Only used by node-groups currently. */ LIB_TAG_LOCALIZED = 1 << 14, diff --git a/source/blender/makesdna/intern/makesdna.c b/source/blender/makesdna/intern/makesdna.c index 8324db1a9c8..061c3462a69 100644 --- a/source/blender/makesdna/intern/makesdna.c +++ b/source/blender/makesdna/intern/makesdna.c @@ -1118,11 +1118,11 @@ static int calculate_struct_sizes(int firststruct, FILE *file_verify, const char types_align_32[structtype] = max_align_32; types_align_64[structtype] = max_align_64; - /* Santiy check 1: alignment should never be 0. */ + /* Sanity check 1: alignment should never be 0. */ BLI_assert(max_align_32); BLI_assert(max_align_64); - /* Santiy check 2: alignment should always be equal or smaller than the maximum + /* Sanity check 2: alignment should always be equal or smaller than the maximum * size of a build in type which is 8 bytes (ie int64_t or double). */ BLI_assert(max_align_32 <= 8); BLI_assert(max_align_64 <= 8); diff --git a/source/blender/python/mathutils/mathutils_geometry.c b/source/blender/python/mathutils/mathutils_geometry.c index 3c0ea9a9566..5868c76b28f 100644 --- a/source/blender/python/mathutils/mathutils_geometry.c +++ b/source/blender/python/mathutils/mathutils_geometry.c @@ -201,7 +201,7 @@ static PyObject *M_Geometry_intersect_line_line(PyObject *UNUSED(self), PyObject } if (result == 0) { - /* Co-linear. */ + /* Collinear. */ Py_RETURN_NONE; } |