diff options
author | Ton Roosendaal <ton@blender.org> | 2004-11-18 17:35:29 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2004-11-18 17:35:29 +0300 |
commit | 63060902e04a72cb2e097765b7ecfb3d3d41a480 (patch) | |
tree | 1afb5712e8ce2450798bc30036ad5a6c65dd0a76 | |
parent | a0de0d084e1531cd828e47bbc3ee74cae6dd607e (diff) |
Fix for bug #forgot
Edge rotate tool didn't copy face material and smoothing flags.
-rw-r--r-- | source/blender/src/editmesh_tools.c | 8 |
1 files changed, 7 insertions, 1 deletions
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; |