[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [40974] branches/soc-2011-onion-uv-tools/ source/blender/editors/uvedit/uvedit_ops.c: smart stitching

Antony Riakiotakis kalast at gmail.com
Thu Oct 13 02:03:32 CEST 2011


Revision: 40974
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=40974
Author:   psy-fi
Date:     2011-10-13 00:03:31 +0000 (Thu, 13 Oct 2011)
Log Message:
-----------
smart stitching
================
*stupid bug with flag clearing

Modified Paths:
--------------
    branches/soc-2011-onion-uv-tools/source/blender/editors/uvedit/uvedit_ops.c

Modified: branches/soc-2011-onion-uv-tools/source/blender/editors/uvedit/uvedit_ops.c
===================================================================
--- branches/soc-2011-onion-uv-tools/source/blender/editors/uvedit/uvedit_ops.c	2011-10-12 23:03:12 UTC (rev 40973)
+++ branches/soc-2011-onion-uv-tools/source/blender/editors/uvedit/uvedit_ops.c	2011-10-13 00:03:31 UTC (rev 40974)
@@ -2534,9 +2534,7 @@
 		MEM_freeN(averageUvPosition);
 	}else{
 		for(i = 0; i < state->total_edges; i++){
-			UvEdge edge = state->edges[i];
-
-			edge.flag &= STITCH_SELECTED | STITCH_BOUNDARY;
+			state->edges[i].flag  &= STITCH_SELECTED | STITCH_BOUNDARY;
 		}
 	}
 




More information about the Bf-blender-cvs mailing list