[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [44883] trunk/blender/source/blender: comment cleanup

Campbell Barton ideasman42 at gmail.com
Wed Mar 14 23:40:00 CET 2012


Revision: 44883
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=44883
Author:   campbellbarton
Date:     2012-03-14 22:39:56 +0000 (Wed, 14 Mar 2012)
Log Message:
-----------
comment cleanup

Modified Paths:
--------------
    trunk/blender/source/blender/bmesh/operators/bmo_dupe.c
    trunk/blender/source/blender/python/mathutils/mathutils_Vector.c

Modified: trunk/blender/source/blender/bmesh/operators/bmo_dupe.c
===================================================================
--- trunk/blender/source/blender/bmesh/operators/bmo_dupe.c	2012-03-14 22:34:25 UTC (rev 44882)
+++ trunk/blender/source/blender/bmesh/operators/bmo_dupe.c	2012-03-14 22:39:56 UTC (rev 44883)
@@ -198,7 +198,7 @@
 	GHash *vhash;
 	GHash *ehash;
 
-	/* initialize pointer hashe */
+	/* initialize pointer hashes */
 	vhash = BLI_ghash_new(BLI_ghashutil_ptrhash, BLI_ghashutil_ptrcmp, "bmesh dupeops v");
 	ehash = BLI_ghash_new(BLI_ghashutil_ptrhash, BLI_ghashutil_ptrcmp, "bmesh dupeops e");
 	
@@ -235,12 +235,12 @@
 		}
 	}
 
-	/* now we dupe all the edge */
+	/* now we dupe all the edges */
 	for (e = BM_iter_new(&edges, source, BM_EDGES_OF_MESH, source); e; e = BM_iter_step(&edges)) {
 		if ( BMO_elem_flag_test(source, e, DUPE_INPUT) &&
 		    !BMO_elem_flag_test(source, e, DUPE_DONE))
 		{
-			/* make sure that verts are copie */
+			/* make sure that verts are copied */
 			if (!BMO_elem_flag_test(source, e->v1, DUPE_DONE)) {
 				copy_vertex(source, e->v1, target, vhash);
 				BMO_elem_flag_enable(source, e->v1, DUPE_DONE);
@@ -249,13 +249,13 @@
 				copy_vertex(source, e->v2, target, vhash);
 				BMO_elem_flag_enable(source, e->v2, DUPE_DONE);
 			}
-			/* now copy the actual edg */
+			/* now copy the actual edge*/
 			copy_edge(op, source, e, target,  vhash,  ehash);
 			BMO_elem_flag_enable(source, e, DUPE_DONE);
 		}
 	}
 
-	/* first we dupe all flagged faces and their elements from sourc */
+	/* first we dupe all flagged faces and their elements from source */
 	for (f = BM_iter_new(&faces, source, BM_FACES_OF_MESH, source); f; f = BM_iter_step(&faces)) {
 		if (BMO_elem_flag_test(source, f, DUPE_INPUT)) {
 			/* vertex pas */
@@ -266,7 +266,7 @@
 				}
 			}
 
-			/* edge pas */
+			/* edge pass */
 			for (e = BM_iter_new(&edges, source, BM_EDGES_OF_FACE, f); e; e = BM_iter_step(&edges)) {
 				if (!BMO_elem_flag_test(source, e, DUPE_DONE)) {
 					copy_edge(op, source, e, target,  vhash,  ehash);
@@ -286,7 +286,7 @@
 		}
 	}
 	
-	/* free pointer hashe */
+	/* free pointer hashes */
 	BLI_ghash_free(vhash, NULL, NULL);
 	BLI_ghash_free(ehash, NULL, NULL);
 
@@ -327,14 +327,14 @@
 	/* flag inpu */
 	BMO_slot_buffer_flag_enable(bm, dupeop, "geom", DUPE_INPUT, BM_ALL);
 
-	/* use the internal copy functio */
+	/* use the internal copy function */
 	copy_mesh(dupeop, bm, bm2);
 	
 	/* Outpu */
-	/* First copy the input buffers to output buffers - original dat */
+	/* First copy the input buffers to output buffers - original data */
 	BMO_slot_copy(dupeop, dupeop, "geom", "origout");
 
-	/* Now alloc the new output buffer */
+	/* Now alloc the new output buffers */
 	BMO_slot_buffer_from_flag(bm, dupeop, "newout", DUPE_NEW, BM_ALL);
 }
 
@@ -427,7 +427,7 @@
 		}
 	}
 
-	/* connect outputs of dupe to delete, exluding keep geometr */
+	/* connect outputs of dupe to delete, exluding keep geometry */
 	BMO_slot_int_set(&delop, "context", DEL_FACES);
 	BMO_slot_buffer_from_flag(bm, &delop, "geom", SPLIT_INPUT, BM_ALL);
 	

Modified: trunk/blender/source/blender/python/mathutils/mathutils_Vector.c
===================================================================
--- trunk/blender/source/blender/python/mathutils/mathutils_Vector.c	2012-03-14 22:34:25 UTC (rev 44882)
+++ trunk/blender/source/blender/python/mathutils/mathutils_Vector.c	2012-03-14 22:39:56 UTC (rev 44883)
@@ -999,8 +999,6 @@
 	if (BaseMath_ReadCallback(self) == -1)
 		return NULL;
 
-	/* don't use clamped size, rule of thumb is vector sizes must match,
-	 * even though n this case 'w' is ignored */
 	if (mathutils_array_parse(tvec, 2, 2, value, "Vector.angle_signed(other), invalid 'other' arg") == -1)
 		return NULL;
 




More information about the Bf-blender-cvs mailing list