[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [44101] branches/bmesh/blender/source/ blender/editors: bring back stitchability indicator, this can work even now

Antony Riakiotakis kalast at gmail.com
Tue Feb 14 01:55:11 CET 2012


Revision: 44101
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=44101
Author:   psy-fi
Date:     2012-02-14 00:55:01 +0000 (Tue, 14 Feb 2012)
Log Message:
-----------
bring back stitchability indicator, this can work even now

Modified Paths:
--------------
    branches/bmesh/blender/source/blender/editors/mesh/bmeshutils.c
    branches/bmesh/blender/source/blender/editors/uvedit/uvedit_draw.c

Modified: branches/bmesh/blender/source/blender/editors/mesh/bmeshutils.c
===================================================================
--- branches/bmesh/blender/source/blender/editors/mesh/bmeshutils.c	2012-02-14 00:35:29 UTC (rev 44100)
+++ branches/bmesh/blender/source/blender/editors/mesh/bmeshutils.c	2012-02-14 00:55:01 UTC (rev 44101)
@@ -713,7 +713,7 @@
 	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 @@
 		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;

Modified: branches/bmesh/blender/source/blender/editors/uvedit/uvedit_draw.c
===================================================================
--- branches/bmesh/blender/source/blender/editors/uvedit/uvedit_draw.c	2012-02-14 00:35:29 UTC (rev 44100)
+++ branches/bmesh/blender/source/blender/editors/uvedit/uvedit_draw.c	2012-02-14 00:55:01 UTC (rev 44101)
@@ -510,11 +510,7 @@
 	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 */




More information about the Bf-blender-cvs mailing list