diff options
author | Ton Roosendaal <ton@blender.org> | 2004-10-14 00:37:00 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2004-10-14 00:37:00 +0400 |
commit | b8d89801e888db46f4fc1b6f73a9e1267edfe2f9 (patch) | |
tree | ffcebf8bacddb0be6e840b7515fffb2942ddf646 /source/blender/src/editmesh_add.c | |
parent | 65237237302c9456e40f66cdb7eecc7802291531 (diff) |
minor fix, more a beauty glitch, bug 1612;
when adding first ipo curve position, editmode on the curve shows weird
handles, which solves when adding the next keys though...
Fix is that it sets all handles on zero size now. (is auto-handle, so no
harm done)
Diffstat (limited to 'source/blender/src/editmesh_add.c')
-rw-r--r-- | source/blender/src/editmesh_add.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/editmesh_add.c b/source/blender/src/editmesh_add.c index 1b78717e1b2..646bcf1a1b1 100644 --- a/source/blender/src/editmesh_add.c +++ b/source/blender/src/editmesh_add.c @@ -643,7 +643,7 @@ void add_primitiveMesh(int type) } dia= G.vd->grid; /* one segment first: de X as */ - phi= -1.0; + phi= 1.0; phid= 2.0/((float)tot-1); for(a=0;a<tot;a++) { vec[0]= cent[0]+dia*phi; @@ -653,7 +653,7 @@ void add_primitiveMesh(int type) eve= addvertlist(vec); eve->f= 1+2+4; if (a) addedgelist(eve->prev, eve, NULL); - phi+=phid; + phi-=phid; } /* extrude and translate */ vec[0]= vec[2]= 0.0; |