Removing Auto-Fgon feature till it can be a little better implemented and integrated
This commit is contained in:
@@ -1634,9 +1634,9 @@ static void fill_quad_double_adj_path(EditFace *efa, struct GHash *gh, int numcu
|
||||
hold = addfacelist(verts[0][0],verts[1][vertsize-1],v[(start2+2)%4],NULL,NULL,NULL);
|
||||
hold->e1->f2 |= EDGEINNER;
|
||||
facecopy(efa,hold);
|
||||
if(G.scene->toolsettings->editbutflag & B_AUTOFGON){
|
||||
hold->e1->h |= EM_FGON;
|
||||
}
|
||||
//if(G.scene->toolsettings->editbutflag & B_AUTOFGON){
|
||||
// hold->e1->h |= EM_FGON;
|
||||
//}
|
||||
// Make side faces
|
||||
|
||||
for(i=0;i<numcuts;i++){
|
||||
@@ -1644,7 +1644,7 @@ static void fill_quad_double_adj_path(EditFace *efa, struct GHash *gh, int numcu
|
||||
hold->e2->f2 |= EDGEINNER;
|
||||
facecopy(efa,hold);
|
||||
}
|
||||
EM_fgon_flags();
|
||||
//EM_fgon_flags();
|
||||
|
||||
}
|
||||
static void fill_quad_double_adj_fan(EditFace *efa, struct GHash *gh, int numcuts)
|
||||
@@ -1789,9 +1789,9 @@ static void fill_quad_double_adj_inner(EditFace *efa, struct GHash *gh, int numc
|
||||
hold->e2->f2 |= EDGEINNER;
|
||||
facecopy(efa,hold);
|
||||
|
||||
if(G.scene->toolsettings->editbutflag & B_AUTOFGON){
|
||||
hold->e1->h |= EM_FGON;
|
||||
}
|
||||
//if(G.scene->toolsettings->editbutflag & B_AUTOFGON){
|
||||
// hold->e1->h |= EM_FGON;
|
||||
//}
|
||||
// Add Fill Quads (if # cuts > 1)
|
||||
|
||||
for(i=0;i<numcuts-1;i++){
|
||||
@@ -1805,12 +1805,12 @@ static void fill_quad_double_adj_inner(EditFace *efa, struct GHash *gh, int numc
|
||||
hold->e4->f2 |= EDGEINNER;
|
||||
facecopy(efa,hold);
|
||||
|
||||
if(G.scene->toolsettings->editbutflag & B_AUTOFGON){
|
||||
hold->e1->h |= EM_FGON;
|
||||
}
|
||||
//if(G.scene->toolsettings->editbutflag & B_AUTOFGON){
|
||||
// hold->e1->h |= EM_FGON;
|
||||
//}
|
||||
}
|
||||
|
||||
EM_fgon_flags();
|
||||
//EM_fgon_flags();
|
||||
|
||||
MEM_freeN(inner);
|
||||
}
|
||||
@@ -2015,18 +2015,18 @@ static void fill_quad_triple(EditFace *efa, struct GHash *gh, int numcuts)
|
||||
// Also Make inner quad
|
||||
hold = addfacelist(verts[1][numcuts/2],verts[1][(numcuts/2)+1],verts[2][numcuts/2],verts[0][(numcuts/2)+1],NULL,NULL);
|
||||
hold->e3->f2 |= EDGEINNER;
|
||||
if(G.scene->toolsettings->editbutflag & B_AUTOFGON){
|
||||
hold->e3->h |= EM_FGON;
|
||||
}
|
||||
//if(G.scene->toolsettings->editbutflag & B_AUTOFGON){
|
||||
// hold->e3->h |= EM_FGON;
|
||||
//}
|
||||
facecopy(efa,hold);
|
||||
repeats = (numcuts / 2) -1;
|
||||
} else {
|
||||
// Make inner tri
|
||||
hold = addfacelist(verts[1][(numcuts/2)+1],verts[2][(numcuts/2)+1],verts[0][(numcuts/2)+1],NULL,NULL,NULL);
|
||||
hold->e2->f2 |= EDGEINNER;
|
||||
if(G.scene->toolsettings->editbutflag & B_AUTOFGON){
|
||||
hold->e2->h |= EM_FGON;
|
||||
}
|
||||
//if(G.scene->toolsettings->editbutflag & B_AUTOFGON){
|
||||
// hold->e2->h |= EM_FGON;
|
||||
//}
|
||||
facecopy(efa,hold);
|
||||
repeats = ((numcuts+1) / 2)-1;
|
||||
}
|
||||
@@ -2052,7 +2052,7 @@ static void fill_quad_triple(EditFace *efa, struct GHash *gh, int numcuts)
|
||||
hold->e2->f2 |= EDGEINNER;
|
||||
facecopy(efa,hold);
|
||||
}
|
||||
EM_fgon_flags();
|
||||
//EM_fgon_flags();
|
||||
}
|
||||
|
||||
static void fill_quad_quadruple(EditFace *efa, struct GHash *gh, int numcuts,float rad,int beauty)
|
||||
|
||||
Reference in New Issue
Block a user