diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-09-07 11:42:12 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-09-07 11:42:12 +0400 |
commit | 183c8e0a0a82f260c4db250f4b04bb3f650618c3 (patch) | |
tree | 6185524ccc51cadb199385bac2cbbfda4d2a3eb8 | |
parent | 7064f6c5d88e17406df1c7c8d1fec20364571084 (diff) |
no functional changes, use hole rather then dutch 'gat' for bevel lists and made some comments English.
-rw-r--r-- | source/blender/blenkernel/intern/curve.c | 10 | ||||
-rw-r--r-- | source/blender/imbuf/intern/anim5.c | 10 | ||||
-rw-r--r-- | source/blender/include/BIF_oops.h | 2 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_curve_types.h | 2 | ||||
-rw-r--r-- | source/blender/src/editlattice.c | 2 |
5 files changed, 13 insertions, 13 deletions
diff --git a/source/blender/blenkernel/intern/curve.c b/source/blender/blenkernel/intern/curve.c index 25af0cb5ce3..a1ad5347f7e 100644 --- a/source/blender/blenkernel/intern/curve.c +++ b/source/blender/blenkernel/intern/curve.c @@ -1783,14 +1783,14 @@ void makeBevelList(Object *ob) 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 @@ void makeBevelList(Object *ob) 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 @@ void makeBevelList(Object *ob) 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 @@ void makeBevelList(Object *ob) } 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); diff --git a/source/blender/imbuf/intern/anim5.c b/source/blender/imbuf/intern/anim5.c index b6f29b6a145..2437d0d9568 100644 --- a/source/blender/imbuf/intern/anim5.c +++ b/source/blender/imbuf/intern/anim5.c @@ -204,12 +204,12 @@ static void anim5decode(struct ImBuf * ibuf, uchar * dlta) { 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 ... ... */ diff --git a/source/blender/include/BIF_oops.h b/source/blender/include/BIF_oops.h index 2375a918d0e..c35acf584f1 100644 --- a/source/blender/include/BIF_oops.h +++ b/source/blender/include/BIF_oops.h @@ -61,7 +61,7 @@ struct Oops *add_test_oops(void *id); /* incl links */ 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); diff --git a/source/blender/makesdna/DNA_curve_types.h b/source/blender/makesdna/DNA_curve_types.h index 88c03a41160..60dba9ce018 100644 --- a/source/blender/makesdna/DNA_curve_types.h +++ b/source/blender/makesdna/DNA_curve_types.h @@ -61,7 +61,7 @@ typedef struct Path { 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. */ diff --git a/source/blender/src/editlattice.c b/source/blender/src/editlattice.c index 06b092a30ac..a65c51c76f6 100644 --- a/source/blender/src/editlattice.c +++ b/source/blender/src/editlattice.c @@ -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> |