From e85635b8825f9ca52a43408b58c5f66c4e3742e6 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 16 Jun 2019 13:37:21 +1000 Subject: Cleanup: comment spelling --- source/blender/blenkernel/BKE_global.h | 2 +- source/blender/blenkernel/intern/mesh_evaluate.c | 6 ++++-- source/blender/blenkernel/intern/tracking_stabilize.c | 6 +++--- 3 files changed, 8 insertions(+), 6 deletions(-) (limited to 'source/blender/blenkernel') diff --git a/source/blender/blenkernel/BKE_global.h b/source/blender/blenkernel/BKE_global.h index 9fe8fc3880f..bee76c09cbc 100644 --- a/source/blender/blenkernel/BKE_global.h +++ b/source/blender/blenkernel/BKE_global.h @@ -75,7 +75,7 @@ typedef struct Global { * * 666: Use quicker batch delete for outliners' delete hierarchy (01/2019). * * 777: Enable UI node panel's sockets polling (11/2011). * * 799: Enable some mysterious new depsgraph behavior (05/2015). - * * 1112: Disable new Cloth internal springs hanlding (09/2014). + * * 1112: Disable new Cloth internal springs handling (09/2014). * * 1234: Disable new dyntopo code fixing skinny faces generation (04/2015). * * 16384 and above: Reserved for python (add-ons) usage. */ diff --git a/source/blender/blenkernel/intern/mesh_evaluate.c b/source/blender/blenkernel/intern/mesh_evaluate.c index f0fd1203cae..f53700fbfb0 100644 --- a/source/blender/blenkernel/intern/mesh_evaluate.c +++ b/source/blender/blenkernel/intern/mesh_evaluate.c @@ -1387,9 +1387,11 @@ static void loop_split_worker(TaskPool *__restrict pool, void *taskdata, int UNU #endif } -/* Check whether gievn loop is part of an unknown-so-far cyclic smooth fan, or not. +/** + * Check whether given loop is part of an unknown-so-far cyclic smooth fan, or not. * Needed because cyclic smooth fans have no obvious 'entry point', - * and yet we need to walk them once, and only once. */ + * and yet we need to walk them once, and only once. + */ static bool loop_split_generator_check_cyclic_smooth_fan(const MLoop *mloops, const MPoly *mpolys, const int (*edge_to_loops)[2], diff --git a/source/blender/blenkernel/intern/tracking_stabilize.c b/source/blender/blenkernel/intern/tracking_stabilize.c index 695f9b21559..88b81392189 100644 --- a/source/blender/blenkernel/intern/tracking_stabilize.c +++ b/source/blender/blenkernel/intern/tracking_stabilize.c @@ -496,7 +496,7 @@ static float rotation_contribution(TrackStabilizationBase *track_ref, * Currently, the public API functions do not support this flexibility. * Rather, rotation will always be applied around a fixed origin. * As a workaround, we shift the image after rotation to match the - * desired rotation centre. And since this offset needs to be applied + * desired rotation center. And since this offset needs to be applied * after the rotation and scaling, we can collapse it with the * translation compensation, which is also a lateral shift (offset). * The offset to apply is intended_pivot - rotated_pivot @@ -640,9 +640,9 @@ static bool average_track_contributions(StabContext *ctx, /* Calculate weight center of location tracks for given frame. * This function performs similar calculations as average_track_contributions(), - * but does not require the tracks to be initialized for stabilisation. Moreover, + * but does not require the tracks to be initialized for stabilization. Moreover, * when there is no usable tracking data for the given frame number, data from - * a neighbouring frame is used. Thus this function can be used to calculate + * a neighboring frame is used. Thus this function can be used to calculate * a starting point on initialization. */ static void average_marker_positions(StabContext *ctx, int framenr, float r_ref_pos[2]) -- cgit v1.2.3