[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [57748] trunk/blender/source: correct typos in comments.

Campbell Barton ideasman42 at gmail.com
Wed Jun 26 00:58:23 CEST 2013


Revision: 57748
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=57748
Author:   campbellbarton
Date:     2013-06-25 22:58:23 +0000 (Tue, 25 Jun 2013)
Log Message:
-----------
correct typos in comments.

Modified Paths:
--------------
    trunk/blender/source/blender/blenlib/intern/graph.c
    trunk/blender/source/blender/blenlib/intern/math_color_inline.c
    trunk/blender/source/blender/blenlib/intern/math_geom.c
    trunk/blender/source/blender/bmesh/intern/bmesh_edgeloop.c
    trunk/blender/source/blender/bmesh/intern/bmesh_iterators.h
    trunk/blender/source/blender/bmesh/intern/bmesh_walkers.c
    trunk/blender/source/blender/bmesh/operators/bmo_beautify.c
    trunk/blender/source/blender/bmesh/operators/bmo_bridge.c
    trunk/blender/source/blender/bmesh/operators/bmo_dupe.c
    trunk/blender/source/blender/bmesh/operators/bmo_poke.c
    trunk/blender/source/blender/bmesh/tools/bmesh_bevel.c
    trunk/blender/source/blender/bmesh/tools/bmesh_decimate_collapse.c
    trunk/blender/source/blender/bmesh/tools/bmesh_decimate_unsubdivide.c
    trunk/blender/source/blender/editors/object/object_add.c
    trunk/blender/source/blender/editors/space_view3d/view3d_fly.c
    trunk/blender/source/blender/freestyle/intern/view_map/SteerableViewMap.h
    trunk/blender/source/blender/windowmanager/intern/wm_init_exit.c
    trunk/blender/source/gameengine/Ketsji/KX_Dome.cpp
    trunk/blender/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.h
    trunk/blender/source/tools/spell_check_source.py

Modified: trunk/blender/source/blender/blenlib/intern/graph.c
===================================================================
--- trunk/blender/source/blender/blenlib/intern/graph.c	2013-06-25 22:28:20 UTC (rev 57747)
+++ trunk/blender/source/blender/blenlib/intern/graph.c	2013-06-25 22:58:23 UTC (rev 57748)
@@ -598,7 +598,7 @@
 
 	/* sort ring by arc length
 	 * using a rather bogus insertion sort
-	 * butrings will never get too big to matter
+	 * but rings will never get too big to matter
 	 * */
 	for (i = 0; i < total; i++) {
 		int j;

Modified: trunk/blender/source/blender/blenlib/intern/math_color_inline.c
===================================================================
--- trunk/blender/source/blender/blenlib/intern/math_color_inline.c	2013-06-25 22:28:20 UTC (rev 57747)
+++ trunk/blender/source/blender/blenlib/intern/math_color_inline.c	2013-06-25 22:58:23 UTC (rev 57748)
@@ -78,7 +78,7 @@
 	F4TOCHAR4(srgb_f, srgb);
 }
 
-/* predivide versions to work on associated/pre-multipled alpha. if this should
+/* predivide versions to work on associated/pre-multiplied alpha. if this should
  * be done or not depends on the background the image will be composited over,
  * ideally you would never do color space conversion on an image with alpha
  * because it is ill defined */

Modified: trunk/blender/source/blender/blenlib/intern/math_geom.c
===================================================================
--- trunk/blender/source/blender/blenlib/intern/math_geom.c	2013-06-25 22:28:20 UTC (rev 57747)
+++ trunk/blender/source/blender/blenlib/intern/math_geom.c	2013-06-25 22:58:23 UTC (rev 57748)
@@ -3621,7 +3621,7 @@
 static __m128 sse_approx_acos(__m128 x)
 {
 	/* needs a better approximation than taylor expansion of acos, since that
-	 * gives big erros for near 1.0 values, sqrt(2 * x) * acos(1 - x) should work
+	 * gives big errors for near 1.0 values, sqrt(2 * x) * acos(1 - x) should work
 	 * better, see http://www.tom.womack.net/projects/sse-fast-arctrig.html */
 
 	return _mm_set_ps1(1.0f);

Modified: trunk/blender/source/blender/bmesh/intern/bmesh_edgeloop.c
===================================================================
--- trunk/blender/source/blender/bmesh/intern/bmesh_edgeloop.c	2013-06-25 22:28:20 UTC (rev 57747)
+++ trunk/blender/source/blender/bmesh/intern/bmesh_edgeloop.c	2013-06-25 22:58:23 UTC (rev 57748)
@@ -520,7 +520,7 @@
 #define NODE_AS_CO(n) ((BMVert *)((LinkData *)n)->data)->co
 
 /**
- * edges are assined to one vert -> the next.
+ * edges are assigned to one vert -> the next.
  */
 void BM_edgeloop_edges_get(struct BMEdgeLoopStore *el_store, BMEdge **e_arr)
 {
@@ -612,7 +612,7 @@
 }
 
 /**
- * For open loops that are stright lines,
+ * For open loops that are straight lines,
  * calculating the normal as if it were a polygon is meaningless.
  *
  * Instead use an alignment vector and calculate the normal based on that.

Modified: trunk/blender/source/blender/bmesh/intern/bmesh_iterators.h
===================================================================
--- trunk/blender/source/blender/bmesh/intern/bmesh_iterators.h	2013-06-25 22:28:20 UTC (rev 57747)
+++ trunk/blender/source/blender/bmesh/intern/bmesh_iterators.h	2013-06-25 22:58:23 UTC (rev 57748)
@@ -154,7 +154,7 @@
 
 /* Iterator Structure */
 /* note: some of these vars are not used,
- * so they have beem commented to save stack space since this struct is used all over */
+ * so they have been commented to save stack space since this struct is used all over */
 typedef struct BMIter {
 	/* keep union first */
 	union {

Modified: trunk/blender/source/blender/bmesh/intern/bmesh_walkers.c
===================================================================
--- trunk/blender/source/blender/bmesh/intern/bmesh_walkers.c	2013-06-25 22:28:20 UTC (rev 57747)
+++ trunk/blender/source/blender/bmesh/intern/bmesh_walkers.c	2013-06-25 22:58:23 UTC (rev 57748)
@@ -40,7 +40,7 @@
  * - joeedh -
  * design notes:
  *
- * original desing: walkers directly emulation recursive functions.
+ * original design: walkers directly emulation recursive functions.
  * functions save their state onto a worklist, and also add new states
  * to implement recursive or looping behavior.  generally only one
  * state push per call with a specific state is desired.

Modified: trunk/blender/source/blender/bmesh/operators/bmo_beautify.c
===================================================================
--- trunk/blender/source/blender/bmesh/operators/bmo_beautify.c	2013-06-25 22:28:20 UTC (rev 57747)
+++ trunk/blender/source/blender/bmesh/operators/bmo_beautify.c	2013-06-25 22:58:23 UTC (rev 57748)
@@ -23,10 +23,10 @@
 /** \file blender/bmesh/operators/bmo_beautify.c
  *  \ingroup bmesh
  *
- * Beautify the mesh by rotating edes between triangles
+ * Beautify the mesh by rotating edges between triangles
  * to more attractive positions until no more rotations can be made.
  *
- * In princible this is very simple however there is the possability of
+ * In principle this is very simple however there is the possibility of
  * going into an eternal loop where edges keep rotating.
  * To avoid this - each edge stores a hash of it previous
  * states so as not to rotate back.

Modified: trunk/blender/source/blender/bmesh/operators/bmo_bridge.c
===================================================================
--- trunk/blender/source/blender/bmesh/operators/bmo_bridge.c	2013-06-25 22:28:20 UTC (rev 57747)
+++ trunk/blender/source/blender/bmesh/operators/bmo_bridge.c	2013-06-25 22:58:23 UTC (rev 57748)
@@ -363,7 +363,7 @@
 		int i;
 
 		BMOperator op_sub;
-		/* when we have to bridge betweeen different sized edge-loops,
+		/* when we have to bridge between different sized edge-loops,
 		 * be clever and post-process for best results */
 
 

Modified: trunk/blender/source/blender/bmesh/operators/bmo_dupe.c
===================================================================
--- trunk/blender/source/blender/bmesh/operators/bmo_dupe.c	2013-06-25 22:28:20 UTC (rev 57747)
+++ trunk/blender/source/blender/bmesh/operators/bmo_dupe.c	2013-06-25 22:58:23 UTC (rev 57748)
@@ -23,7 +23,7 @@
 /** \file blender/bmesh/operators/bmo_dupe.c
  *  \ingroup bmesh
  *
- * Duplicate, Split, Spint operators.
+ * Duplicate, Split, Split operators.
  */
 
 #include "MEM_guardedalloc.h"

Modified: trunk/blender/source/blender/bmesh/operators/bmo_poke.c
===================================================================
--- trunk/blender/source/blender/bmesh/operators/bmo_poke.c	2013-06-25 22:28:20 UTC (rev 57747)
+++ trunk/blender/source/blender/bmesh/operators/bmo_poke.c	2013-06-25 22:58:23 UTC (rev 57748)
@@ -73,7 +73,7 @@
 		float f_center[3];
 		BMVert *v_center = NULL;
 		BMLoop *l_iter, *l_first;
-		/* only interpolate the centeral loop from the face once,
+		/* only interpolate the central loop from the face once,
 		 * then copy to all others in the fan */
 		BMLoop *l_center_example;
 

Modified: trunk/blender/source/blender/bmesh/tools/bmesh_bevel.c
===================================================================
--- trunk/blender/source/blender/bmesh/tools/bmesh_bevel.c	2013-06-25 22:28:20 UTC (rev 57747)
+++ trunk/blender/source/blender/bmesh/tools/bmesh_bevel.c	2013-06-25 22:58:23 UTC (rev 57748)
@@ -223,7 +223,7 @@
 	return BLI_ghash_lookup(bp->vert_hash, bmv);
 }
 
-/* Return a good respresentative face (for materials, etc.) for faces
+/* Return a good representative face (for materials, etc.) for faces
  * created around/near BoundVert v */
 static BMFace *boundvert_rep_face(BoundVert *v)
 {
@@ -531,7 +531,7 @@
  * Also find vd, which is in direction normal to parallelogram and 1 unit away
  * from the origin.
  * The quarter circle in first quadrant of unit square will be mapped to the
- * quadrant of a sheared ellipse in the parallelgram, using a matrix.
+ * quadrant of a sheared ellipse in the parallelogram, using a matrix.
  * The matrix mat is calculated to map:
  *    (0,1,0) -> va
  *    (1,1,0) -> vmid

Modified: trunk/blender/source/blender/bmesh/tools/bmesh_decimate_collapse.c
===================================================================
--- trunk/blender/source/blender/bmesh/tools/bmesh_decimate_collapse.c	2013-06-25 22:28:20 UTC (rev 57747)
+++ trunk/blender/source/blender/bmesh/tools/bmesh_decimate_collapse.c	2013-06-25 22:58:23 UTC (rev 57748)
@@ -116,7 +116,7 @@
 static void bm_decim_calc_target_co(BMEdge *e, float optimize_co[3],
                                     const Quadric *vquadrics)
 {
-	/* compute an edge contration target for edge 'e'
+	/* compute an edge contraction target for edge 'e'
 	 * this is computed by summing it's vertices quadrics and
 	 * optimizing the result. */
 	Quadric q;
@@ -682,7 +682,7 @@
 
 /**
  * special, highly limited edge collapse function
- * intended for speed over flexibiliy.
+ * intended for speed over flexibility.
  * can only collapse edges connected to (1, 2) tris.
  *
  * Important - dont add vert/edge/face data on collapsing!

Modified: trunk/blender/source/blender/bmesh/tools/bmesh_decimate_unsubdivide.c
===================================================================
--- trunk/blender/source/blender/bmesh/tools/bmesh_decimate_unsubdivide.c	2013-06-25 22:28:20 UTC (rev 57747)
+++ trunk/blender/source/blender/bmesh/tools/bmesh_decimate_unsubdivide.c	2013-06-25 22:58:23 UTC (rev 57748)
@@ -79,7 +79,7 @@
 {
 	/* collapse under 2 conditions.
 	 * - vert connects to 4 manifold edges (and 4 faces).
-	 * - vert connecrs to 1 manifold edge, 2 boundary edges (and 2 faces).
+	 * - vert connects to 1 manifold edge, 2 boundary edges (and 2 faces).
 	 *
 	 * This covers boundary verts of a quad grid and center verts.
 	 * note that surrounding faces dont have to be quads.

Modified: trunk/blender/source/blender/editors/object/object_add.c
===================================================================
--- trunk/blender/source/blender/editors/object/object_add.c	2013-06-25 22:28:20 UTC (rev 57747)
+++ trunk/blender/source/blender/editors/object/object_add.c	2013-06-25 22:58:23 UTC (rev 57748)
@@ -1762,7 +1762,7 @@
 
 /* 
  * dupflag: a flag made from constants declared in DNA_userdef_types.h
- * The flag tells adduplicate() weather to copy data linked to the object, or to reference the existing data.
+ * The flag tells adduplicate() whether to copy data linked to the object, or to reference the existing data.

@@ Diff output truncated at 10240 characters. @@



More information about the Bf-blender-cvs mailing list