the make ngon function's overlap test needed some work, the API function
[blender.git] / source / blender / bmesh / intern / editmesh_to_bmesh.c
index 656e9804aaf40d7aea1c7306db09c8d7fd18c13d..57cea7e52b48017c651df331db76ac7ac56d7afa 100644 (file)
@@ -195,6 +195,7 @@ static BMFace *editface_to_BMFace(BMesh *bm, BMOperator *op, EditMesh *em, EditF
                f->head.flag = 0;
                f->mat_nr = efa->mat_nr;
                if(efa->f & SELECT) BM_Select_Face(bm, f, 1);
+               if (efa->flag & ME_SMOOTH) f->head.flag |= BM_SMOOTH;
                if(efa->h) f->head.flag |= BM_HIDDEN;
 
                if (efa == em->act_face) f->head.flag |= BM_ACTIVE;