Cleanup: spelling

This commit is contained in:
Campbell Barton
2020-02-15 15:58:06 +11:00
parent 1857548b5c
commit f829fefe8a
7 changed files with 14 additions and 15 deletions

View File

@@ -22,7 +22,7 @@
/** \file
* \ingroup bke
*
* API to manage data-blocks inside of Blender's Main data-base, or as independant runtime-only
* API to manage data-blocks inside of Blender's Main data-base, or as independent runtime-only
* data.
*
* \note `BKE_lib_` files are for operations over data-blocks themselves, although they might

View File

@@ -23,7 +23,7 @@
/** \file
* \ingroup bke
*
* API to manage data-blocks inside of Blender's Main data-base, or as independant runtime-only
* API to manage data-blocks inside of Blender's Main data-base, or as independent runtime-only
* data.
*
* \note `BKE_lib_` files are for operations over data-blocks themselves, although they might

View File

@@ -476,7 +476,7 @@ int where_on_path(Object *ob,
/* NOTE: commented out for follow constraint
*
* If it's ever be uncommentet watch out for curve_deform_verts()
* If it's ever be uncommented watch out for curve_deform_verts()
* which used to temporary set CU_FOLLOW flag for the curve and no
* longer does it (because of threading issues of such a thing.
*/

View File

@@ -448,7 +448,7 @@ static void library_foreach_ID_link(Main *bmain,
if (inherit_data == NULL) {
data.cb_flag = ID_IS_LINKED(id) ? IDWALK_CB_INDIRECT_USAGE : 0;
/* When an ID is not in Main database, it should never refcount IDs it is using.
* Exceptions: NodeTrees (yeeahhh!) directly used by Materials. */
* Exceptions: NodeTrees (yeah!) directly used by Materials. */
data.cb_flag_clear = (id->tag & LIB_TAG_NO_MAIN) ? IDWALK_CB_USER | IDWALK_CB_USER_ONE : 0;
}
else {
@@ -469,7 +469,7 @@ static void library_foreach_ID_link(Main *bmain,
continue;
}
/* Note: ID.lib pointer is purposedly fully ignored here...
/* Note: ID.lib pointer is purposefully fully ignored here...
* We may want to add it at some point? */
if (id->override_library != NULL) {

View File

@@ -137,9 +137,11 @@ BLI_INLINE SymEdge *prev(const SymEdge *se)
return se->rot->next->rot;
}
/** Return true if a -- b -- c are in that order, assuming they are on a straight line according to
* orient2d and we know the order is either abc or bac.
* This means ab . ac and bc . ac must both be non-negative. */
/**
* Return true if a -- b -- c are in that order, assuming they are on a straight line according to
* orient2d and we know the order is either `abc` or `bac`.
* This means `ab . ac` and `bc . ac` must both be non-negative.
*/
static bool in_line(const double a[2], const double b[2], const double c[2])
{
double ab[2], bc[2], ac[2];
@@ -3463,8 +3465,8 @@ static double isperrboundA, isperrboundB, isperrboundC;
* floating-point arithmetic. `epsilon' bounds the relative roundoff
* error. It is used for floating-point error analysis.
*
* `splitter' is used to split floating-point numbers into two half-
* length significands for exact multiplication.
* `splitter' is used to split floating-point numbers into two
* half-length significances for exact multiplication.
*
* I imagine that a highly optimizing compiler might be too smart for its
* own good, and somehow cause this routine to fail, if it pretends that

View File

@@ -2050,8 +2050,8 @@ bool sculpt_search_circle_cb(PBVHNode *node, void *data_v)
const float dist_sq = dist_squared_ray_to_aabb_v3(
data->dist_ray_to_aabb_precalc, bb_min, bb_max, dummy_co, &dummy_depth);
/* Seems like debug code. Maybe this fucntion can just return true if the node is not fully
* masked. */
/* Seems like debug code.
* Maybe this function can just return true if the node is not fully masked. */
return dist_sq < data->radius_squared || true;
}

View File

@@ -655,9 +655,6 @@ typedef struct RenderData {
short subimtype DNA_DEPRECATED;
short quality DNA_DEPRECATED;
/**
* Render to image editor, fullscreen or to new window.
*/
char use_lock_interface;
char _pad7[3];