From 63060902e04a72cb2e097765b7ecfb3d3d41a480 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Thu, 18 Nov 2004 14:35:29 +0000 Subject: [PATCH] Fix for bug #forgot Edge rotate tool didn't copy face material and smoothing flags. --- source/blender/src/editmesh_tools.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/source/blender/src/editmesh_tools.c b/source/blender/src/editmesh_tools.c index 617fad3f8f1..31e2a1da9dd 100644 --- a/source/blender/src/editmesh_tools.c +++ b/source/blender/src/editmesh_tools.c @@ -2588,8 +2588,14 @@ static void edge_rotate(EditEdge *eed) /*This should never happen*/ return; } + + /* 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 selection */ + /* redo the vertex selection */ faces[0][(p1+1)%fac1]->f |= SELECT; faces[1][(p3+1)%fac2]->f |= SELECT;