Spelling: Miscellaneous

Corrects 34 miscellaneous misspelled words.

Differential Revision: https://developer.blender.org/D9248

Reviewed by Campbell Barton
This commit is contained in:
Harley Acheson 2020-10-19 08:51:50 -07:00
parent a9f2641cb6
commit 84ef3b80de
29 changed files with 33 additions and 33 deletions

View File

@ -36,7 +36,7 @@ class GHOST_CallbackEventConsumer : public GHOST_IEventConsumer {
/**
* Constructor.
* \param eventCallback The call-back routine invoked.
* \param userData The data passed back though the call-back routine.
* \param userData The data passed back through the call-back routine.
*/
GHOST_CallbackEventConsumer(GHOST_EventCallbackProcPtr eventCallback,
GHOST_TUserDataPtr userData);
@ -58,7 +58,7 @@ class GHOST_CallbackEventConsumer : public GHOST_IEventConsumer {
protected:
/** The call-back routine invoked. */
GHOST_EventCallbackProcPtr m_eventCallback;
/** The data passed back though the call-back routine. */
/** The data passed back through the call-back routine. */
GHOST_TUserDataPtr m_userData;
#ifdef WITH_CXX_GUARDEDALLOC

View File

@ -54,7 +54,7 @@ namespace KDL {
class Error {
public:
/** Returns a description string describing the error.
* the returned pointer only garanteed to exists as long as
* the returned pointer only guaranteed to exists as long as
* the Error object exists.
*/
virtual ~Error() {}

View File

@ -32,7 +32,7 @@
* ORO_Geometry V0.2
*
* \par history
* - changed layout of the comments to accomodate doxygen
* - changed layout of the comments to accommodate doxygen
*/
#ifndef ERROR_STACK_H
#define ERROR_STACK_H

View File

@ -7,7 +7,7 @@
* ORO_Geometry V0.2
*
* @par history
* - changed layout of the comments to accomodate doxygen
* - changed layout of the comments to accommodate doxygen
*/
#include "utility.h"

View File

@ -14,7 +14,7 @@
* functions and macro definitions.
*
* \par history
* - changed layout of the comments to accomodate doxygen
* - changed layout of the comments to accommodate doxygen
*/

View File

@ -130,7 +130,7 @@ bool AutoTrack::TrackMarker(Marker* tracked_marker,
// Try to predict the location of the second marker.
bool predicted_position = false;
if (PredictMarkerPosition(tracks_, tracked_marker)) {
LG << "Succesfully predicted!";
LG << "Successfully predicted!";
predicted_position = true;
} else {
LG << "Prediction failed; trying to track anyway.";

View File

@ -333,7 +333,7 @@ SubdivCCGAdjacencyType BKE_subdiv_ccg_coarse_mesh_adjacency_info_get(const Subdi
/* Get array which is indexed by face index and contains index of a first grid of the face.
*
* The "ensure" version allocates the mapping if it's not know yet and stores it in the subdiv_ccg
* The "ensure" version allocates the mapping if it's not known yet and stores it in the subdiv_ccg
* descriptor. This function is NOT safe for threading.
*
* The "get" version simply returns cached array. */

View File

@ -1172,7 +1172,7 @@ static void curve_calc_modifiers_post(Depsgraph *depsgraph,
}
}
else if (modified != NULL) {
/* Prety stupid to generate that whole mesh if it's unused, yet we have to free it. */
/* Pretty stupid to generate that whole mesh if it's unused, yet we have to free it. */
BKE_id_free(NULL, modified);
}
}

View File

@ -1031,7 +1031,7 @@ void dc_tri(CDTArrangement<T> *cdt,
}
return;
}
/* Recursive case. Do left (L) and right (R) halves seperately, then join. */
/* Recursive case. Do left (L) and right (R) halves separately, then join. */
int n2 = n / 2;
BLI_assert(n2 >= 2 && end - (start + n2) >= 2);
SymEdge<T> *ldo;
@ -1308,7 +1308,7 @@ template<typename T> inline int tri_orient(const SymEdge<T> *t)
* For case (a), 'vert' will be the vertex, and lambda will be 0, and 'in' will be the #SymEdge
* from 'vert' that has as face the one that you go through to get to this vertex. If you go
* exactly along an edge then we set 'in' to NULL, since it won't be needed. The first crossing
* will have 'in' = NULL. We set 'out' to the #SymEdge that has the face we go though to get to the
* will have 'in' = NULL. We set 'out' to the #SymEdge that has the face we go through to get to the
* next crossing, or, if the next crossing is a case (a), then it is the edge that goes to that
* next vertex. 'out' will be NULL for the last one.
*

View File

@ -3408,7 +3408,7 @@ float line_plane_factor_v3(const float plane_co[3],
/**
* Ensure the distance between these points is no greater than 'dist'.
* If it is, scale then both into the center.
* If it is, scale them both into the center.
*/
void limit_dist_v3(float v1[3], float v2[3], const float dist)
{

View File

@ -1681,7 +1681,7 @@ bool BLO_library_path_explode(const char *path, char *r_dir, char **r_group, cha
{
/* We might get some data names with slashes,
* so we have to go up in path until we find blend file itself,
* then we now next path item is group, and everything else is data name. */
* then we know next path item is group, and everything else is data name. */
char *slash = NULL, *prev_slash = NULL, c = '\0';
r_dir[0] = '\0';

View File

@ -890,7 +890,7 @@ static void do_versions_material_convert_legacy_blend_mode(bNodeTree *ntree, cha
bNodeSocket *color_socket = nodeFindSocket(transp_node, SOCK_IN, "Color");
bNodeSocket *transp_socket = nodeFindSocket(transp_node, SOCK_OUT, "BSDF");
/* If incomming link is from a closure socket, we need to convert it. */
/* If incoming link is from a closure socket, we need to convert it. */
if (fromsock->type == SOCK_SHADER) {
transp_node->locx = 0.33f * fromnode->locx + 0.66f * tonode->locx;
transp_node->locy = 0.33f * fromnode->locy + 0.66f * tonode->locy;

View File

@ -1088,7 +1088,7 @@ static void do_fillGradientBuffer(unsigned int rw,
*
* 1.) Loop through all gradient pixels.
* A.) For each gradient pixel:
* a.) Loop though all outside edge pixels, looking for closest one
* a.) Loop through all outside edge pixels, looking for closest one
* to the gradient pixel we are in.
* b.) Loop through all inside edge pixels, looking for closest one
* to the gradient pixel we are in.

View File

@ -511,7 +511,7 @@ void DepsgraphNodeBuilder::build_collection(LayerCollection *from_layer_collecti
}
else if (from_layer_collection == nullptr && !id_node->is_collection_fully_expanded) {
/* Initially collection was built from layer now, and was requested
* to not recurs into object. But now it's asked to recurs into all objects. */
* to not recurse into object. But now it's asked to recurse into all objects. */
}
else {
return;

View File

@ -1043,7 +1043,7 @@ void discard_edit_mode_pointers(ID *id_cow)
/* Free content of the CoW data-block
* Notes:
* - Does not recurs into nested ID data-blocks.
* - Does not recurse into nested ID data-blocks.
* - Does not free data-block itself. */
void deg_free_copy_on_write_datablock(ID *id_cow)
{

View File

@ -586,7 +586,7 @@ void gpencil_vfx_cache_populate(GPENCIL_Data *vedata, Object *ob, GPENCIL_tObjec
GPENCIL_FramebufferList *fbl = vedata->fbl;
GPENCIL_PrivateData *pd = vedata->stl->pd;
/* These may not be allocated yet, use adress of future pointer. */
/* These may not be allocated yet, use address of future pointer. */
gpIterVfxData iter = {
.pd = pd,
.tgp_ob = tgp_ob,

View File

@ -38,7 +38,7 @@ void main()
mat3 normal_mat = transpose(inverse(mat3(model_mat)));
/* TODO FIX: there is still a problem with this vector
* when the bone is scaled or in persp mode. But it's
* barelly visible at the outline corners. */
* barely visible at the outline corners. */
ssNor = normalize(normal_world_to_view(normal_mat * snor).xy);
ssPos = proj(pPos);

View File

@ -124,7 +124,7 @@ void straight_line_dir(bvec4 edges1, bvec4 edges2, out vec2 line_start, out vec2
vec2 diag_offset(bvec4 edges)
{
/* X_NEG | Y_POS as reference. Other cases are rotated to match reference.
* So the line is comming from bottom left. */
* So the line is coming from bottom left. */
if (all(edges.wz)) {
/* Horizontal line. */
return vec2(2.5, 0.5);

View File

@ -168,7 +168,7 @@ uniform mat4 ModelMatrixInverse;
#define resource_handle (resourceChunk * DRW_RESOURCE_CHUNK_LEN + resource_id)
/** Transform shortcuts. */
/* Rule of thumb: Try to reuse world positions and normals because converting though viewspace
/* Rule of thumb: Try to reuse world positions and normals because converting through viewspace
* will always be decomposed in at least 2 matrix operation. */
/**

View File

@ -1433,7 +1433,7 @@ static int ui_drag_toggle_but_pushed_state(bContext *C, uiBut *but)
return but->pushed_state_func(C, but->pushed_state_arg);
}
/* Assume icon identifies a unique state, for buttons that
* work though functions callbacks and don't have an boolean
* work through functions callbacks and don't have an boolean
* value that indicates the state. */
return but->icon + but->iconadd;
}

View File

@ -2415,7 +2415,7 @@ void file_directory_enter_handle(bContext *C, void *UNUSED(arg_unused), void *UN
WM_operator_properties_create_ptr(&ptr, ot);
RNA_string_set(&ptr, "directory", sfile->params->dir);
RNA_boolean_set(&ptr, "open", true);
/* Enable confirmation prompt, else it's too easy to accidentaly create new directories. */
/* Enable confirmation prompt, else it's too easy to accidentally create new directories. */
RNA_boolean_set(&ptr, "confirm", true);
if (lastdir) {

View File

@ -1693,7 +1693,7 @@ static int selectbuffer_ret_hits_5(uint *buffer,
* Checks three selection levels and compare.
*
* \param do_nearest_xray_if_supported: When set, read in hits that don't stop
* at the nearest surface. The hit's must still be ordered by depth.
* at the nearest surface. The hits must still be ordered by depth.
* Needed so we can step to the next, non-active object when it's already selected, see: T76445.
*/
static int mixed_bones_object_selectbuffer(ViewContext *vc,

View File

@ -192,7 +192,7 @@ bool GPU_select_is_cached(void)
*/
/**
* Helper function, nothing special but avoids doing inline since hit's aren't sorted by depth
* Helper function, nothing special but avoids doing inline since hits aren't sorted by depth
* and purpose of 4x buffer indices isn't so clear.
*
* Note that comparing depth as uint is fine.

View File

@ -261,7 +261,7 @@ static void read_mpolys(CDStreamConfig &config, const AbcMeshData &mesh_data)
static void process_no_normals(CDStreamConfig &config)
{
/* Absense of normals in the Alembic mesh is interpreted as 'smooth'. */
/* Absence of normals in the Alembic mesh is interpreted as 'smooth'. */
BKE_mesh_calc_normals(config.mesh);
}

View File

@ -107,7 +107,7 @@ typedef struct Key {
char _pad2;
/** Only used when (Key->type == KEY_NORMAL), this value is used as a time slider,
* rather than using the scenes time, this value can be animated to give greater control */
* rather than using the scene's time, this value can be animated to give greater control */
float ctime;
/**

View File

@ -78,7 +78,7 @@ typedef struct PointCache {
/**
* The number of frames between cached frames.
* This should probably be an upper bound for a per point adaptive step in the future,
* buf for now it's the same for all points. Without adaptivity this can effect the perceived
* but for now it's the same for all points. Without adaptivity this can effect the perceived
* simulation quite a bit though. If for example particles are colliding with a horizontal
* plane (with high damping) they quickly come to a stop on the plane, however there are still
* forces acting on the particle (gravity and collisions), so the particle velocity isn't

View File

@ -507,7 +507,7 @@ static int add_name(const char *str)
buf[i + 2] = ')';
buf[i + 3] = 0;
}
/* now precede with buf*/
/* now proceed with buf*/
DEBUG_PRINTF(3, "\t\t\t\t\tProposing fp name %s\n", buf);
name = buf;
}

View File

@ -667,7 +667,7 @@ typedef struct BlenderRNA BlenderRNA;
* Extending
*
* This struct must be embedded in *Type structs in
* order to make then definable through RNA.
* order to make them definable through RNA.
*/
typedef struct ExtensionRNA {
void *data;

View File

@ -4357,8 +4357,8 @@ void BKE_sequencer_free_imbuf(Scene *scene, ListBase *seqbase, bool for_render)
BKE_sequencer_free_imbuf(scene, &seq->seqbase, for_render);
}
if (seq->type == SEQ_TYPE_SCENE) {
/* FIXME: recurs downwards,
* but do recurs protection somehow! */
/* FIXME: recurse downwards,
* but do recurse protection somehow! */
}
}
}
@ -4369,7 +4369,7 @@ static bool update_changed_seq_recurs(
Sequence *subseq;
bool free_imbuf = false;
/* recurs downwards to see if this seq depends on the changed seq */
/* recurse downwards to see if this seq depends on the changed seq */
if (seq == NULL) {
return false;