diff options
author | Daniel Dunbar <daniel@zuster.org> | 2005-08-21 23:01:30 +0400 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2005-08-21 23:01:30 +0400 |
commit | d2f6ff1900aa859483d186ed2321af245e93cd83 (patch) | |
tree | 5ce7faf0fa8bc2cb3f940ce63c4bcce8b99e1d57 /source | |
parent | 6ad0c922afc7e59ad5eed56e7ea7b3fbe61ce307 (diff) |
- bug fix, last edge wasn't flagged correctly on make_edges
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/intern/mesh.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/mesh.c b/source/blender/blenkernel/intern/mesh.c index 04cf6a732c5..e7ad85557f5 100644 --- a/source/blender/blenkernel/intern/mesh.c +++ b/source/blender/blenkernel/intern/mesh.c @@ -492,8 +492,6 @@ float *mesh_create_orco(Object *ob) #define UVSWAP(t, s) { SWAP(float, t[0], s[0]); SWAP(float, t[1], s[1]); } void test_index_face(MFace *mface, MCol *mc, TFace *tface, int nr) { - int a; - /* first test if the face is legal */ if(mface->v3 && mface->v3==mface->v4) { @@ -671,6 +669,7 @@ void make_edges(Mesh *me) /* last edge */ medge->v1= ed->v1; medge->v2= ed->v2; + medge->flag= ME_EDGEDRAW; if(ed->is_loose) medge->flag|= ME_LOOSEEDGE; medge->flag |= ME_EDGERENDER; |