From c7185d26527ef1ef56e0fe54cdef0d54578ae1b1 Mon Sep 17 00:00:00 2001 From: Antony Riakiotakis Date: Wed, 22 Feb 2012 00:06:15 +0000 Subject: Stitch tool fully functional again. Many thanks to Howard Trickey for proposing the loop winding criterion for normal disambiguation of edges. Unfortunately some extra memory has to be allocated for this to work correctly. If the tool had been initially written for bmesh I would have used the already present adjacency information to make it work, avoiding some extra allocations. Maybe a project for another day though, when I am more proficient with bmesh internals. --- source/blender/blenkernel/BKE_mesh.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/blenkernel/BKE_mesh.h') diff --git a/source/blender/blenkernel/BKE_mesh.h b/source/blender/blenkernel/BKE_mesh.h index 4f31bf1d177..0855d8b6057 100644 --- a/source/blender/blenkernel/BKE_mesh.h +++ b/source/blender/blenkernel/BKE_mesh.h @@ -194,6 +194,8 @@ typedef struct UvElement { struct BMFace *face; /* Index in the editFace of the uv */ struct BMLoop *l; + /* index in loop. */ + unsigned short tfindex; /* Whether this element is the first of coincident elements */ unsigned char separate; /* general use flag */ -- cgit v1.2.3