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 /source/blender/blenkernel | |
parent | a9635c63842d47009cbb9b9de7ca8afa112254bf (diff) |
Cleanup: spelling
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/BKE_undo_system.h | 4 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/mask_rasterize.c | 4 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/mball_tessellate.c | 2 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/node.c | 2 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/tracking_stabilize.c | 4 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/undo_system.c | 6 |
6 files changed, 11 insertions, 11 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); |