[Bf-blender-cvs] [3be845ce20f] master: Cleanup: Typos in comments (to to)

Pablo Vazquez noreply at git.blender.org
Mon Feb 4 01:23:57 CET 2019


Commit: 3be845ce20f6101838eeda7c15abf027f0c1a0f6
Author: Pablo Vazquez
Date:   Mon Feb 4 01:23:48 2019 +0100
Branches: master
https://developer.blender.org/rB3be845ce20f6101838eeda7c15abf027f0c1a0f6

Cleanup: Typos in comments (to to)

===================================================================

M	intern/cycles/util/util_ies.h
M	source/blender/blenkernel/intern/subdiv_mesh.c
M	source/blender/bmesh/intern/bmesh_construct.c
M	source/blender/editors/animation/keyframes_general.c
M	source/blender/editors/space_clip/tracking_ops.c
M	source/blender/freestyle/intern/geometry/matrix_util.cpp
M	source/blender/freestyle/intern/view_map/ViewMapAdvancedIterators.h
M	source/blender/render/intern/source/bake_api.c

===================================================================

diff --git a/intern/cycles/util/util_ies.h b/intern/cycles/util/util_ies.h
index 663ad649a9c..096b1fdf803 100644
--- a/intern/cycles/util/util_ies.h
+++ b/intern/cycles/util/util_ies.h
@@ -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;
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);



More information about the Bf-blender-cvs mailing list