Now while choosing an edge in loopcut, S will toggle loopcut smooth. There is a headerprint to show current status of smooth.

Also a little tweak in subd smooth. is still not perfect in full quads/tris cases
This commit is contained in:
2005-08-05 15:52:28 +00:00
parent 46a8c11064
commit 32656ad7ef
2 changed files with 22 additions and 5 deletions

View File

@@ -1122,7 +1122,6 @@ static void alter_co(float* co,EditEdge *edge,float rad,int beauty,float perc)
if(beauty & B_SMOOTH) {
float len, fac, nor[3], nor1[3], nor2[3];
float smoothperc = 0.25;
VecSubf(nor, edge->v1->co, edge->v2->co);
len= 0.5f*Normalise(nor);
@@ -1147,6 +1146,7 @@ static void alter_co(float* co,EditEdge *edge,float rad,int beauty,float perc)
if(perc > .5){
perc = 1-perc;
}
perc /= 2;
vec1[0]*= perc*len;
vec1[1]*= perc*len;