[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [23042] trunk/blender/source/blender: no functional changes, use hole rather then dutch 'gat' for bevel lists and made some comments English.

Campbell Barton ideasman42 at gmail.com
Mon Sep 7 09:42:12 CEST 2009


Revision: 23042
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=23042
Author:   campbellbarton
Date:     2009-09-07 09:42:12 +0200 (Mon, 07 Sep 2009)

Log Message:
-----------
no functional changes, use hole rather then  dutch 'gat' for bevel lists and made some comments English.

Modified Paths:
--------------
    trunk/blender/source/blender/blenkernel/intern/curve.c
    trunk/blender/source/blender/imbuf/intern/anim5.c
    trunk/blender/source/blender/include/BIF_oops.h
    trunk/blender/source/blender/makesdna/DNA_curve_types.h
    trunk/blender/source/blender/src/editlattice.c

Modified: trunk/blender/source/blender/blenkernel/intern/curve.c
===================================================================
--- trunk/blender/source/blender/blenkernel/intern/curve.c	2009-09-07 04:52:42 UTC (rev 23041)
+++ trunk/blender/source/blender/blenkernel/intern/curve.c	2009-09-07 07:42:12 UTC (rev 23042)
@@ -1783,14 +1783,14 @@
 		bl= blnext;
 	}
 
-	/* STEP 3: COUNT POLYS TELLEN AND AUTOHOLE */
+	/* STEP 3: POLYS COUNT AND AUTOHOLE */
 	bl= cu->bev.first;
 	poly= 0;
 	while(bl) {
 		if(bl->nr && bl->poly>=0) {
 			poly++;
 			bl->poly= poly;
-			bl->gat= 0;	/* 'gat' is dutch for hole */
+			bl->hole= 0;
 		}
 		bl= bl->next;
 	}
@@ -1842,7 +1842,7 @@
 			sd1= sortdata+ (a-1);
 			for(b=a-1; b>=0; b--, sd1--) {	/* all polys to the left */
 				if(bevelinside(sd1->bl, bl)) {
-					bl->gat= 1- sd1->bl->gat;
+					bl->hole= 1- sd1->bl->hole;
 					break;
 				}
 			}
@@ -1852,7 +1852,7 @@
 		if((cu->flag & CU_3D)==0) {
 			sd= sortdata;
 			for(a=0; a<poly; a++, sd++) {
-				if(sd->bl->gat==sd->dir) {
+				if(sd->bl->hole==sd->dir) {
 					bl= sd->bl;
 					bevp1= (BevPoint *)(bl+1);
 					bevp2= bevp1+ (bl->nr-1);
@@ -2033,7 +2033,7 @@
 					}
 					QUATCOPY(quat_prev, quat); /* quat_prev can't have the tilt applied */
 					VECCOPY(vec_prev, vec);
-
+					
 					AxisAngleToQuat(q, vec, bevp1->alfa);
 					QuatMul(quat, q, quat);
 					QuatToMat3(quat, bevp1->mat);

Modified: trunk/blender/source/blender/imbuf/intern/anim5.c
===================================================================
--- trunk/blender/source/blender/imbuf/intern/anim5.c	2009-09-07 04:52:42 UTC (rev 23041)
+++ trunk/blender/source/blender/imbuf/intern/anim5.c	2009-09-07 07:42:12 UTC (rev 23042)
@@ -204,12 +204,12 @@
 	int *ofspoint;
 	uchar **planes;
 
-	/*	samenstelling delta:
-		lijst met ofsets voor delta's per bitplane (ofspoint)
-		per kolom in delta (point)
-			aantal handelingen (noops)
+	/*	composition delta:
+		list with ofsets for delta' s by bitplane (ofspoint)
+		by column in delta (point)
+			number of operations (noops)
 				code
-					bijbehorende data
+					associated data
 				...
 			...
 	*/

Modified: trunk/blender/source/blender/include/BIF_oops.h
===================================================================
--- trunk/blender/source/blender/include/BIF_oops.h	2009-09-07 04:52:42 UTC (rev 23041)
+++ trunk/blender/source/blender/include/BIF_oops.h	2009-09-07 07:42:12 UTC (rev 23042)
@@ -61,7 +61,7 @@
 void add_texture_oops(struct Material *ma);
 void build_oops(void);
 struct Oops *find_oops(ID *id);
-void free_oops(struct Oops *oops);	/* ook oops zelf */
+void free_oops(struct Oops *oops);	/* also oops themselves */
 void free_oopspace(struct SpaceOops *so);
 void new_oops_location(struct Oops *);
 int oops_test_overlap(struct Oops *test);

Modified: trunk/blender/source/blender/makesdna/DNA_curve_types.h
===================================================================
--- trunk/blender/source/blender/makesdna/DNA_curve_types.h	2009-09-07 04:52:42 UTC (rev 23041)
+++ trunk/blender/source/blender/makesdna/DNA_curve_types.h	2009-09-07 07:42:12 UTC (rev 23042)
@@ -61,7 +61,7 @@
 typedef struct BevList {
 	struct BevList *next, *prev;
 	int nr, flag;
-	short poly, gat;
+	short poly, hole;
 } BevList;
 
 /* These two Lines with # tell makesdna this struct can be excluded. */

Modified: trunk/blender/source/blender/src/editlattice.c
===================================================================
--- trunk/blender/source/blender/src/editlattice.c	2009-09-07 04:52:42 UTC (rev 23041)
+++ trunk/blender/source/blender/src/editlattice.c	2009-09-07 07:42:12 UTC (rev 23042)
@@ -25,7 +25,7 @@
  * Contributor(s): none yet.
  *
  * ***** END GPL LICENSE BLOCK *****
- * i.t.t. wat de naam doet vermoeden: ook algemene lattice (calc) functies
+ * what the name suggests: also general lattice (calc) functions
  */
 
 #include <stdlib.h>





More information about the Bf-blender-cvs mailing list