forked from bartvdbraak/blender
Bugfix #3423
Extrude faces assigned arbitrary colors to the new faces when an edge shared 2 faces with different colors. Now only assigns colors for the selected faces.
This commit is contained in:
parent
449ac1b296
commit
5c7ec20421
@ -725,6 +725,12 @@ static short extrudeflag_edge(short flag, float *nor)
|
||||
efa->e2->f2++;
|
||||
efa->e3->f2++;
|
||||
if(efa->e4) efa->e4->f2++;
|
||||
|
||||
// sample for next loop
|
||||
efa->e1->vn= (EditVert *)efa;
|
||||
efa->e2->vn= (EditVert *)efa;
|
||||
efa->e3->vn= (EditVert *)efa;
|
||||
if(efa->e4) efa->e4->vn= (EditVert *)efa;
|
||||
}
|
||||
else {
|
||||
efa->e1->f1++;
|
||||
@ -732,11 +738,6 @@ static short extrudeflag_edge(short flag, float *nor)
|
||||
efa->e3->f1++;
|
||||
if(efa->e4) efa->e4->f1++;
|
||||
}
|
||||
// sample for next loop
|
||||
efa->e1->vn= (EditVert *)efa;
|
||||
efa->e2->vn= (EditVert *)efa;
|
||||
efa->e3->vn= (EditVert *)efa;
|
||||
if(efa->e4) efa->e4->vn= (EditVert *)efa;
|
||||
}
|
||||
|
||||
set_edge_directions_f2(2);
|
||||
|
Loading…
Reference in New Issue
Block a user