diff options
author | Joseph Eagar <joeedh@gmail.com> | 2009-07-26 17:12:55 +0400 |
---|---|---|
committer | Joseph Eagar <joeedh@gmail.com> | 2009-07-26 17:12:55 +0400 |
commit | 0b6066c8f1c3d44028c42925457e52b705ba9db7 (patch) | |
tree | 562898d41ab0298d9ee39fcc02aebf03628f3faa /source/blender/blenkernel/intern/modifiers_bmesh.c | |
parent | 5fcbb36b79ed5349d66704f696097d03ad5e3959 (diff) |
replaced use of bmesh tesselator with scanfill when leaving edtmode and generating the mface tesselation data. also fixed a normals problem.
Diffstat (limited to 'source/blender/blenkernel/intern/modifiers_bmesh.c')
-rw-r--r-- | source/blender/blenkernel/intern/modifiers_bmesh.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/modifiers_bmesh.c b/source/blender/blenkernel/intern/modifiers_bmesh.c index ff0d24173a0..33ca50bfe85 100644 --- a/source/blender/blenkernel/intern/modifiers_bmesh.c +++ b/source/blender/blenkernel/intern/modifiers_bmesh.c @@ -196,6 +196,7 @@ BMEditMesh *CDDM_To_BMesh(DerivedMesh *dm, BMEditMesh *existing) f = BM_Make_Ngon(bm, verts[0], verts[1], edges, dfiter->len, 0); f->head.flag = MEFlags_To_BMFlags(dfiter->flags, BM_FACE); + f->mat_nr = dfiter->mat_nr; if (!f) continue; |