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 bwidth = rect->xmax - rect->xmin;
|
||||||
int bheight = rect->ymax - rect->ymin;
|
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,
|
* We have to calculate the additional rows in the first pass,
|
||||||
* to have valid data available for the second pass. */
|
* to have valid data available for the second pass. */
|
||||||
tile_info *result = create_cache(rect->xmin, rect->xmax, ymin, ymax);
|
tile_info *result = create_cache(rect->xmin, rect->xmax, ymin, ymax);
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
/** \file
|
/** \file
|
||||||
* \ingroup draw_engine
|
* \ingroup draw_engine
|
||||||
*
|
*
|
||||||
* Engine for debuging the selection map drawing.
|
* Engine for debugging the selection map drawing.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "DNA_ID.h"
|
#include "DNA_ID.h"
|
||||||
|
|||||||
@@ -1388,8 +1388,8 @@ int file_highlight_set(SpaceFile *sfile, ARegion *region, int mx, int my)
|
|||||||
FileSelectParams *params;
|
FileSelectParams *params;
|
||||||
int numfiles, origfile;
|
int numfiles, origfile;
|
||||||
|
|
||||||
/* In case blender starts where the mouse is over a File broser, this operator can be invoked
|
/* In case blender starts where the mouse is over a File browser,
|
||||||
* when the sfile or sfile->layout isn't initialized yet. */
|
* this operator can be invoked when the `sfile` or `sfile->layout` isn't initialized yet. */
|
||||||
if (sfile == NULL || sfile->files == NULL || sfile->layout == NULL) {
|
if (sfile == NULL || sfile->files == NULL || sfile->layout == NULL) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -587,7 +587,7 @@ enum {
|
|||||||
*
|
*
|
||||||
* RESET_NEVER
|
* RESET_NEVER
|
||||||
*
|
*
|
||||||
* NOTE: Only used by nodegroups currently.
|
* NOTE: Only used by node-groups currently.
|
||||||
*/
|
*/
|
||||||
LIB_TAG_LOCALIZED = 1 << 14,
|
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_32[structtype] = max_align_32;
|
||||||
types_align_64[structtype] = max_align_64;
|
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_32);
|
||||||
BLI_assert(max_align_64);
|
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). */
|
* 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_32 <= 8);
|
||||||
BLI_assert(max_align_64 <= 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) {
|
if (result == 0) {
|
||||||
/* Co-linear. */
|
/* Collinear. */
|
||||||
Py_RETURN_NONE;
|
Py_RETURN_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user