diff options
Diffstat (limited to 'source/blender/src/editmesh_add.c')
-rw-r--r-- | source/blender/src/editmesh_add.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/src/editmesh_add.c b/source/blender/src/editmesh_add.c index b61f02a5032..6a7b11bbc42 100644 --- a/source/blender/src/editmesh_add.c +++ b/source/blender/src/editmesh_add.c @@ -700,7 +700,7 @@ void add_primitiveMesh(int type) eve= eve->next; } dia= G.vd->grid; - /* one segment first: de X as */ + /* one segment first: the X axis */ phi= 1.0; phid= 2.0/((float)tot-1); for(a=0;a<tot;a++) { @@ -710,7 +710,9 @@ void add_primitiveMesh(int type) Mat3MulVecfl(imat,vec); eve= addvertlist(vec); eve->f= 1+2+4; - if (a) addedgelist(eve->prev, eve, NULL); + if (a) { + addedgelist(eve->prev, eve, NULL); + } phi-=phid; } /* extrude and translate */ |