forked from bartvdbraak/blender
Moved initialization of vertex flags up a bit in the subdivide
routine because they were trumping a fix I had made earlier to deal with subdivide smooth and mirror modifiers. Campbell, could you please check that this commit is compatible with the results you were expecting from commit 14227? Here is the log of that commit: http://projects.blender.org/plugins/scmsvn/viewcvs.php/trunk/blender/source/blender/src/editmesh_tools.c?root=bf-blender&view=log#rev14227
This commit is contained in:
parent
16edba2962
commit
8f6a16c12e
@ -2432,6 +2432,10 @@ void esubdivideflag(int flag, float rad, int beauty, int numcuts, int seltype)
|
||||
|
||||
if(multires_test()) return;
|
||||
|
||||
//Set faces f1 to 0 cause we need it later
|
||||
for(ef=em->faces.first;ef;ef = ef->next) ef->f1 = 0;
|
||||
for(eve=em->verts.first; eve; eve=eve->next) eve->f1 = eve->f2 = 0;
|
||||
|
||||
for (; md; md=md->next) {
|
||||
if (md->type==eModifierType_Mirror) {
|
||||
MirrorModifierData *mmd = (MirrorModifierData*) md;
|
||||
@ -2458,10 +2462,6 @@ void esubdivideflag(int flag, float rad, int beauty, int numcuts, int seltype)
|
||||
}
|
||||
}
|
||||
|
||||
//Set faces f1 to 0 cause we need it later
|
||||
for(ef=em->faces.first;ef;ef = ef->next) ef->f1 = 0;
|
||||
for(eve=em->verts.first; eve; eve=eve->next) eve->f1 = eve->f2 = 0;
|
||||
|
||||
//Flush vertex flags upward to the edges
|
||||
for(eed = em->edges.first;eed;eed = eed->next) {
|
||||
//if(eed->f & flag && eed->v1->f == eed->v2->f) {
|
||||
|
Loading…
Reference in New Issue
Block a user