[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [44538] trunk/blender/source/blender/ editors/sculpt_paint/paint_vertex.c: Bugfix: vertexpaint blur brush was broken.

Nicholas Bishop nicholasbishop at gmail.com
Wed Feb 29 01:15:09 CET 2012


Revision: 44538
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=44538
Author:   nicholasbishop
Date:     2012-02-29 00:14:58 +0000 (Wed, 29 Feb 2012)
Log Message:
-----------
Bugfix: vertexpaint blur brush was broken.

Just a minor loop iteration bug.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/sculpt_paint/paint_vertex.c

Modified: trunk/blender/source/blender/editors/sculpt_paint/paint_vertex.c
===================================================================
--- trunk/blender/source/blender/editors/sculpt_paint/paint_vertex.c	2012-02-28 23:08:40 UTC (rev 44537)
+++ trunk/blender/source/blender/editors/sculpt_paint/paint_vertex.c	2012-02-29 00:14:58 UTC (rev 44538)
@@ -2798,7 +2798,7 @@
 		unsigned int tcol;
 		char *col;
 
-		for (j=0; j<mpoly->totloop; j += 2) {
+		for (j=0; j<mpoly->totloop; j++) {
 			col = (char *)(lcol + j);
 			blend[0] += col[0];
 			blend[1] += col[1];




More information about the Bf-blender-cvs mailing list