Cleanup: Typos in comments (to to)
authorPablo Vazquez <venomgfx@gmail.com>
Mon, 4 Feb 2019 00:23:48 +0000 (01:23 +0100)
committerPablo Vazquez <venomgfx@gmail.com>
Mon, 4 Feb 2019 00:23:48 +0000 (01:23 +0100)
intern/cycles/util/util_ies.h
source/blender/blenkernel/intern/subdiv_mesh.c
source/blender/bmesh/intern/bmesh_construct.c
source/blender/editors/animation/keyframes_general.c
source/blender/editors/space_clip/tracking_ops.c
source/blender/freestyle/intern/geometry/matrix_util.cpp
source/blender/freestyle/intern/view_map/ViewMapAdvancedIterators.h
source/blender/render/intern/source/bake_api.c

index 663ad64..096b1fd 100644 (file)
@@ -40,7 +40,7 @@ protected:
        bool process_type_c();
 
        /* The brightness distribution is stored in spherical coordinates.
-        * The horizontal angles correspond to to theta in the regular notation
+        * The horizontal angles correspond to theta in the regular notation
         * and always span the full range from 0° to 360°.
         * The vertical angles correspond to phi and always start at 0°. */
        vector<float> v_angles, h_angles;
index c83bdb1..09905c9 100644 (file)
@@ -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);
index 07a7c55..40cd9b0 100644 (file)
@@ -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
index 9bc6535..117090f 100644 (file)
@@ -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.
index f1452ba..31c2f3b 100644 (file)
@@ -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);
index 3fc7a00..d392da3 100644 (file)
@@ -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;
index bbf745b..e7b49c0 100644 (file)
@@ -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;
index 3ae1eba..7131103 100644 (file)
@@ -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);