From 3be845ce20f6101838eeda7c15abf027f0c1a0f6 Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Mon, 4 Feb 2019 01:23:48 +0100 Subject: Cleanup: Typos in comments (to to) --- source/blender/blenkernel/intern/subdiv_mesh.c | 4 ++-- source/blender/bmesh/intern/bmesh_construct.c | 2 +- source/blender/editors/animation/keyframes_general.c | 2 +- source/blender/editors/space_clip/tracking_ops.c | 2 +- source/blender/freestyle/intern/geometry/matrix_util.cpp | 2 +- source/blender/freestyle/intern/view_map/ViewMapAdvancedIterators.h | 2 +- source/blender/render/intern/source/bake_api.c | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) (limited to 'source') diff --git a/source/blender/blenkernel/intern/subdiv_mesh.c b/source/blender/blenkernel/intern/subdiv_mesh.c index c83bdb184f8..09905c9ed99 100644 --- a/source/blender/blenkernel/intern/subdiv_mesh.c +++ b/source/blender/blenkernel/intern/subdiv_mesh.c @@ -596,7 +596,7 @@ static void evaluate_vertex_and_apply_displacement_copy( const float inv_num_accumulated = 1.0f / ctx->accumulated_counters[subdiv_vertex_index]; /* Displacement is accumulated in subdiv vertex position. - * Needs to to be backed up before copying data from original vertex. */ + * Needs to be backed up before copying data from original vertex. */ float D[3] = {0.0f, 0.0f, 0.0f}; if (ctx->have_displacement) { copy_v3_v3(D, subdiv_vert->co); @@ -628,7 +628,7 @@ static void evaluate_vertex_and_apply_displacement_interpolate( const float inv_num_accumulated = 1.0f / ctx->accumulated_counters[subdiv_vertex_index]; /* Displacement is accumulated in subdiv vertex position. - * Needs to to be backed up before copying data from original vertex. */ + * Needs to be backed up before copying data from original vertex. */ float D[3] = {0.0f, 0.0f, 0.0f}; if (ctx->have_displacement) { copy_v3_v3(D, subdiv_vert->co); diff --git a/source/blender/bmesh/intern/bmesh_construct.c b/source/blender/bmesh/intern/bmesh_construct.c index 07a7c555d9e..40cd9b00559 100644 --- a/source/blender/bmesh/intern/bmesh_construct.c +++ b/source/blender/bmesh/intern/bmesh_construct.c @@ -265,7 +265,7 @@ error: * Makes an ngon from an unordered list of edges. * Verts \a v1 and \a v2 define the winding of the new face. * - * \a edges are not required to be ordered, simply to to form + * \a edges are not required to be ordered, simply to form * a single closed loop as a whole. * * \note While this function will work fine when the edges diff --git a/source/blender/editors/animation/keyframes_general.c b/source/blender/editors/animation/keyframes_general.c index 9bc6535fe9d..117090ffd77 100644 --- a/source/blender/editors/animation/keyframes_general.c +++ b/source/blender/editors/animation/keyframes_general.c @@ -732,7 +732,7 @@ static tAnimCopybufItem *pastebuf_match_path_property( /* check that paths exist */ if (aci->rna_path && fcu->rna_path) { /* find the property of the fcurve and compare against the end of the tAnimCopybufItem - * more involved since it needs to to path lookups. + * more involved since it needs to do path lookups. * This is not 100% reliable since the user could be editing the curves on a path that wont * resolve, or a bone could be renamed after copying for eg. but in normal copy & paste * this should work out ok. diff --git a/source/blender/editors/space_clip/tracking_ops.c b/source/blender/editors/space_clip/tracking_ops.c index f1452ba1790..31c2f3b4b9f 100644 --- a/source/blender/editors/space_clip/tracking_ops.c +++ b/source/blender/editors/space_clip/tracking_ops.c @@ -1420,7 +1420,7 @@ static int frame_jump_exec(bContext *C, wmOperator *op) sc->user.framenr += delta; } } - else { /* to to failed frame */ + else { /* to failed frame */ if (tracking->reconstruction.flag & TRACKING_RECONSTRUCTED) { int framenr = ED_space_clip_get_clip_frame_number(sc); MovieTrackingObject *object = BKE_tracking_object_get_active(tracking); diff --git a/source/blender/freestyle/intern/geometry/matrix_util.cpp b/source/blender/freestyle/intern/geometry/matrix_util.cpp index 3fc7a00d7c7..d392da3af78 100644 --- a/source/blender/freestyle/intern/geometry/matrix_util.cpp +++ b/source/blender/freestyle/intern/geometry/matrix_util.cpp @@ -235,7 +235,7 @@ namespace MatrixUtil { // Step 7: save the eigen vectors - // back from Fortran to to C++ + // back from Fortran to C++ v++; ij = 0; diff --git a/source/blender/freestyle/intern/view_map/ViewMapAdvancedIterators.h b/source/blender/freestyle/intern/view_map/ViewMapAdvancedIterators.h index bbf745b044c..e7b49c0c892 100644 --- a/source/blender/freestyle/intern/view_map/ViewMapAdvancedIterators.h +++ b/source/blender/freestyle/intern/view_map/ViewMapAdvancedIterators.h @@ -273,7 +273,7 @@ protected: ++_tvertex_iter; #if 0 // Hack to deal with cusp. the result of a cusp is a TVertex having two identical viewedges. - // In order to iterate properly, we chose to to skip these last ones. + // In order to iterate properly, we chose to skip these last ones. if (_feB.first == _beA.first) { if (_feA.first == _beB.first) { _tvertex_iter.first = 0; diff --git a/source/blender/render/intern/source/bake_api.c b/source/blender/render/intern/source/bake_api.c index 3ae1eba1798..7131103ff2f 100644 --- a/source/blender/render/intern/source/bake_api.c +++ b/source/blender/render/intern/source/bake_api.c @@ -354,7 +354,7 @@ static bool cast_ray_highpoly( mul_v3_v3fl(dyco, duco_low, pixel_low->du_dy); madd_v3_v3fl(dyco, dvco_low, pixel_low->dv_dy); - /* transform from low poly to to high poly object space */ + /* transform from low poly to high poly object space */ mul_mat3_m4_v3(mat_low, dxco); mul_mat3_m4_v3(mat_low, dyco); mul_mat3_m4_v3(highpoly[hit_mesh].imat, dxco); -- cgit v1.2.3