Cleanup: spelling in comments
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -201,7 +201,7 @@ static PyObject *M_Geometry_intersect_line_line(PyObject *UNUSED(self), PyObject
|
||||
}
|
||||
|
||||
if (result == 0) {
|
||||
/* Co-linear. */
|
||||
/* Collinear. */
|
||||
Py_RETURN_NONE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user