diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-07-02 10:38:36 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-07-02 11:05:10 +0300 |
commit | 10b694877b1065c262fdce22ab35be4752ad7076 (patch) | |
tree | ed7e492014f8407a9106ee5d06162b8d3af3603f | |
parent | a9635c63842d47009cbb9b9de7ca8afa112254bf (diff) |
Cleanup: spelling
14 files changed, 19 insertions, 19 deletions
diff --git a/source/blender/blenkernel/BKE_undo_system.h b/source/blender/blenkernel/BKE_undo_system.h index d4cb9331605..b5e153fca95 100644 --- a/source/blender/blenkernel/BKE_undo_system.h +++ b/source/blender/blenkernel/BKE_undo_system.h @@ -101,7 +101,7 @@ typedef struct UndoType { * None of these callbacks manage list add/removal. * * Note that 'step_encode_init' is optional, - * some undo types need to perform operatons before undo push finishes. + * some undo types need to perform operations before undo push finishes. */ void (*step_encode_init)(struct bContext *C, UndoStep *us); @@ -122,7 +122,7 @@ typedef struct UndoType { int step_size; } UndoType; -/* expose since we need to perform operations on spesific undo types (rarely). */ +/* Expose since we need to perform operations on specific undo types (rarely). */ extern const UndoType *BKE_UNDOSYS_TYPE_IMAGE; extern const UndoType *BKE_UNDOSYS_TYPE_MEMFILE; extern const UndoType *BKE_UNDOSYS_TYPE_PAINTCURVE; diff --git a/source/blender/blenkernel/intern/mask_rasterize.c b/source/blender/blenkernel/intern/mask_rasterize.c index f5f0dbc6610..6ab888ce2ea 100644 --- a/source/blender/blenkernel/intern/mask_rasterize.c +++ b/source/blender/blenkernel/intern/mask_rasterize.c @@ -965,8 +965,8 @@ void BKE_maskrasterize_handle_init(MaskRasterHandle *mr_handle, } /* --- inefficient self-intersect case --- */ - /* if self intersections are found, its too trickty to attempt to map vertices - * so just realloc and add entirely new vertices - the result of the self-intersect check + /* if self intersections are found, its too tricky to attempt to map vertices + * so just realloc and add entirely new vertices - the result of the self-intersect check. */ if ((masklay->flag & MASK_LAYERFLAG_FILL_OVERLAP) && (is_isect = BLI_scanfill_calc_self_isect( diff --git a/source/blender/blenkernel/intern/mball_tessellate.c b/source/blender/blenkernel/intern/mball_tessellate.c index 1218e78c6f0..687bd0a32c5 100644 --- a/source/blender/blenkernel/intern/mball_tessellate.c +++ b/source/blender/blenkernel/intern/mball_tessellate.c @@ -607,7 +607,7 @@ static void docube(PROCESS *process, CUBE *cube) } } - /* Using faces[] table, adds neighbouring cube if surface intersects face in this direction. */ + /* Using faces[] table, adds neighboring cube if surface intersects face in this direction. */ if (MB_BIT(faces[index], 0)) { add_cube(process, cube->i - 1, cube->j, cube->k); } diff --git a/source/blender/blenkernel/intern/node.c b/source/blender/blenkernel/intern/node.c index 62357b7f878..775f6eb37a7 100644 --- a/source/blender/blenkernel/intern/node.c +++ b/source/blender/blenkernel/intern/node.c @@ -2455,7 +2455,7 @@ static void ntree_interface_identifier(bNodeTree *ntree, char *description) { /* There is a possibility that different node tree names get mapped to the same identifier - * after sanitization (e.g. "SomeGroup_A", "SomeGroup.A" both get sanitized to "SomeGroup_A"). + * after sanitation (e.g. "SomeGroup_A", "SomeGroup.A" both get sanitized to "SomeGroup_A"). * On top of the sanitized id string add a number suffix if necessary to avoid duplicates. */ identifier[0] = '\0'; diff --git a/source/blender/blenkernel/intern/tracking_stabilize.c b/source/blender/blenkernel/intern/tracking_stabilize.c index 88b81392189..b852e8a12cd 100644 --- a/source/blender/blenkernel/intern/tracking_stabilize.c +++ b/source/blender/blenkernel/intern/tracking_stabilize.c @@ -672,14 +672,14 @@ static void average_marker_positions(StabContext *ctx, int framenr, float r_ref_ } else { /* No usable tracking data on any track on this frame. - * Use data from neighbouring frames to extrapolate... + * Use data from neighboring frames to extrapolate... */ int next_lower = MINAFRAME; int next_higher = MAXFRAME; use_values_from_fcurves(ctx, true); for (track = tracking->tracks.first; track; track = track->next) { /* Note: we deliberately do not care if this track - * is already initialized for stabilisation */ + * is already initialized for stabilization. */ if (track->flag & TRACK_USE_2D_STAB) { int startpoint = search_closest_marker_index(track, framenr); retrieve_next_higher_usable_frame(ctx, track, startpoint, framenr, &next_higher); diff --git a/source/blender/blenkernel/intern/undo_system.c b/source/blender/blenkernel/intern/undo_system.c index b33884e4f0e..76b37b940ec 100644 --- a/source/blender/blenkernel/intern/undo_system.c +++ b/source/blender/blenkernel/intern/undo_system.c @@ -50,7 +50,7 @@ /** Make sure all ID's created at the point we add an undo step that uses ID's. */ #define WITH_GLOBAL_UNDO_ENSURE_UPDATED -/** Make sure we don't apply edits ontop of a newer memfile state, see: T56163. +/** Make sure we don't apply edits on top of a newer memfile state, see: T56163. * \note Keep an eye on this, could solve differently. */ #define WITH_GLOBAL_UNDO_CORRECT_ORDER @@ -120,7 +120,7 @@ static const UndoType *BKE_undosys_type_from_context(bContext *C) /* -------------------------------------------------------------------- */ /** \name Internal Callback Wrappers * - * #UndoRefID is simply a way to avoid inlining name copy and lookups, + * #UndoRefID is simply a way to avoid in-lining name copy and lookups, * since it's easy to forget a single case when done inline (crashing in some cases). * * \{ */ @@ -550,7 +550,7 @@ bool BKE_undosys_step_push_with_type(UndoStack *ustack, BLI_strncpy(us->name, name, sizeof(us->name)); } us->type = ut; - /* initialized, not added yet. */ + /* Initialized, not added yet. */ if (!undosys_step_encode(C, G_MAIN, ustack, us)) { MEM_freeN(us); diff --git a/source/blender/depsgraph/intern/builder/deg_builder_relations.h b/source/blender/depsgraph/intern/builder/deg_builder_relations.h index cfed5a73a49..257cae7d127 100644 --- a/source/blender/depsgraph/intern/builder/deg_builder_relations.h +++ b/source/blender/depsgraph/intern/builder/deg_builder_relations.h @@ -186,7 +186,7 @@ class DepsgraphRelationBuilder : public DepsgraphBuilder { const char *description, int flags = 0); - /* Adds relation from proper transformation opertation to the modifier. + /* Adds relation from proper transformation operation to the modifier. * Takes care of checking for possible physics solvers modifying position * of this object. */ void add_modifier_to_transform_relation(const DepsNodeHandle *handle, const char *description); diff --git a/source/blender/depsgraph/intern/builder/deg_builder_rna.h b/source/blender/depsgraph/intern/builder/deg_builder_rna.h index 26d7963e0a8..8a79d9abef9 100644 --- a/source/blender/depsgraph/intern/builder/deg_builder_rna.h +++ b/source/blender/depsgraph/intern/builder/deg_builder_rna.h @@ -85,7 +85,7 @@ class RNANodeQuery { /* Indexed by an ID, returns RNANodeQueryIDData associated with that ID. */ GHash *id_data_map_; - /* Construct identifier of the node which correspods given configuration + /* Construct identifier of the node which corresponds given configuration * of RNA property. */ RNANodeIdentifier construct_node_identifier(const PointerRNA *ptr, const PropertyRNA *prop, diff --git a/source/blender/depsgraph/intern/node/deg_node.h b/source/blender/depsgraph/intern/node/deg_node.h index 705dae41470..65cb5b73c99 100644 --- a/source/blender/depsgraph/intern/node/deg_node.h +++ b/source/blender/depsgraph/intern/node/deg_node.h @@ -95,7 +95,7 @@ enum class NodeType { /* Audio-related evaluation. */ AUDIO, ARMATURE, - /* Un-interestying datablock, which is a part of dependency graph, but does + /* Un-interesting data-block, which is a part of dependency graph, but does * not have very distinctive update procedure. */ GENERIC_DATABLOCK, diff --git a/source/blender/editors/transform/transform_gizmo_3d.c b/source/blender/editors/transform/transform_gizmo_3d.c index 2ad938e1d05..a883b5b6ba5 100644 --- a/source/blender/editors/transform/transform_gizmo_3d.c +++ b/source/blender/editors/transform/transform_gizmo_3d.c @@ -1876,7 +1876,7 @@ static void WIDGETGROUP_gizmo_invoke_prepare(const bContext *C, GizmoGroup *ggd = gzgroup->customdata; - /* Support gizmo spesific orientation. */ + /* Support gizmo specific orientation. */ if (gz != ggd->gizmos[MAN_AXIS_ROT_T]) { Scene *scene = CTX_data_scene(C); wmGizmoOpElem *gzop = WM_gizmo_operator_get(gz, 0); diff --git a/source/blender/windowmanager/gizmo/WM_gizmo_types.h b/source/blender/windowmanager/gizmo/WM_gizmo_types.h index 2b74677a1a2..7bb77375934 100644 --- a/source/blender/windowmanager/gizmo/WM_gizmo_types.h +++ b/source/blender/windowmanager/gizmo/WM_gizmo_types.h @@ -320,7 +320,7 @@ typedef struct wmGizmoType { wmGizmoFnDrawSelect draw_select; /** Determine if the mouse intersects with the gizmo. - * The calculation should be done in the callback itself, -1 for no seleciton. */ + * The calculation should be done in the callback itself, -1 for no selection. */ wmGizmoFnTestSelect test_select; /** Handler used by the gizmo. Usually handles interaction tied to a gizmo type. */ diff --git a/source/blender/windowmanager/gizmo/intern/wm_gizmo_map.c b/source/blender/windowmanager/gizmo/intern/wm_gizmo_map.c index 6ec908bcf29..1c5fda2ec11 100644 --- a/source/blender/windowmanager/gizmo/intern/wm_gizmo_map.c +++ b/source/blender/windowmanager/gizmo/intern/wm_gizmo_map.c @@ -1239,7 +1239,7 @@ void wm_gizmos_keymap(wmKeyConfig *keyconf) /** \} */ /* wmGizmoMapType */ /* -------------------------------------------------------------------- */ -/** \name Updates for Dynamic Type Registraion +/** \name Updates for Dynamic Type Registration * * \{ */ diff --git a/source/blender/windowmanager/intern/wm_event_system.c b/source/blender/windowmanager/intern/wm_event_system.c index 24040568b7b..6ae682e678a 100644 --- a/source/blender/windowmanager/intern/wm_event_system.c +++ b/source/blender/windowmanager/intern/wm_event_system.c @@ -98,7 +98,7 @@ * Without tools using press events which would prevent click/drag events getting to the gizmos. * * This is not a fool proof solution since since it's possible the gizmo operators would pass - * through thse events when called, see: T65479. + * through these events when called, see: T65479. */ #define USE_GIZMO_MOUSE_PRIORITY_HACK diff --git a/source/blender/windowmanager/intern/wm_init_exit.c b/source/blender/windowmanager/intern/wm_init_exit.c index e74b3c1ef07..f3c94162786 100644 --- a/source/blender/windowmanager/intern/wm_init_exit.c +++ b/source/blender/windowmanager/intern/wm_init_exit.c @@ -166,7 +166,7 @@ void WM_init_state_start_with_console_set(bool value) /** * Since we cannot know in advance if we will require the draw manager * context when starting blender in background mode (specially true with - * scripts) we deferre the ghost initialization the most as possible + * scripts) we defer the ghost initialization the most as possible * so that it does not break anything that can run in headless mode (as in * without display server attached). */ |