bring back stitchability indicator, this can work even now
This commit is contained in:
@@ -713,7 +713,7 @@ UvElementMap *EDBM_make_uv_element_map(BMEditMesh *em, int selected, int do_isla
|
||||
UvElementMap *element_map;
|
||||
UvElement *buf;
|
||||
UvElement *islandbuf;
|
||||
/* at this point, every UvElement in vert points to a UvElement sharing the same vertex. Now we should sort uv's in islands. */
|
||||
/* island number for faces */
|
||||
int *island_number;
|
||||
|
||||
MLoopUV *luv;
|
||||
@@ -838,6 +838,7 @@ UvElementMap *EDBM_make_uv_element_map(BMEditMesh *em, int selected, int do_isla
|
||||
stack = MEM_mallocN(sizeof(*stack)*em->bm->totface, "uv_island_face_stack");
|
||||
islandbuf = MEM_callocN(sizeof(*islandbuf)*totuv, "uvelement_island_buffer");
|
||||
|
||||
/* at this point, every UvElement in vert points to a UvElement sharing the same vertex. Now we should sort uv's in islands. */
|
||||
for (i = 0; i < totuv; i++) {
|
||||
if (element_map->buf[i].island == INVALID_ISLAND) {
|
||||
element_map->buf[i].island = nislands;
|
||||
|
||||
@@ -510,11 +510,7 @@ static void draw_uvs(SpaceImage *sima, Scene *scene, Object *obedit)
|
||||
int drawfaces, interpedges;
|
||||
Image *ima= sima->image;
|
||||
|
||||
#if 0 /* BMESH_TODO */
|
||||
StitchPreviewer *stitch_preview = uv_get_stitch_previewer();
|
||||
#else
|
||||
StitchPreviewer *stitch_preview = NULL;
|
||||
#endif
|
||||
|
||||
em= me->edit_btmesh;
|
||||
activetf= EDBM_get_active_mtexpoly(em, &efa_act, FALSE); /* will be set to NULL if hidden */
|
||||
|
||||
Reference in New Issue
Block a user