Fix for bug #forgot

Edge rotate tool didn't copy face material and smoothing flags.
This commit is contained in:
Ton Roosendaal 2004-11-18 14:35:29 +00:00
parent a0de0d084e
commit 63060902e0

@ -2589,7 +2589,13 @@ static void edge_rotate(EditEdge *eed)
return;
}
/* redo the selection */
/* copy flags and material */
newFace[0]->flag= face[0]->flag;
newFace[1]->flag= face[1]->flag;
newFace[0]->mat_nr= face[0]->mat_nr;
newFace[1]->mat_nr= face[1]->mat_nr;
/* redo the vertex selection */
faces[0][(p1+1)%fac1]->f |= SELECT;
faces[1][(p3+1)%fac2]->f |= SELECT;