Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2004-11-18 17:35:29 +0300
committerTon Roosendaal <ton@blender.org>2004-11-18 17:35:29 +0300
commit63060902e04a72cb2e097765b7ecfb3d3d41a480 (patch)
tree1afb5712e8ce2450798bc30036ad5a6c65dd0a76
parenta0de0d084e1531cd828e47bbc3ee74cae6dd607e (diff)
Fix for bug #forgot
Edge rotate tool didn't copy face material and smoothing flags.
-rw-r--r--source/blender/src/editmesh_tools.c8
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;