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)
This commit is contained in:
2004-10-13 20:37:00 +00:00
parent 6523723730
commit b8d89801e8
2 changed files with 6 additions and 2 deletions

View File

@@ -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;