Bugfix: vertexpaint blur brush was broken.
authorNicholas Bishop <nicholasbishop@gmail.com>
Wed, 29 Feb 2012 00:14:58 +0000 (00:14 +0000)
committerNicholas Bishop <nicholasbishop@gmail.com>
Wed, 29 Feb 2012 00:14:58 +0000 (00:14 +0000)
Just a minor loop iteration bug.

source/blender/editors/sculpt_paint/paint_vertex.c

index ba132e1ed7d9dacd80d34cc09d5c1be6698fb0eb..ad5aeea1b18b845d85783fa4cdc196b183a7c465 100644 (file)
@@ -2798,7 +2798,7 @@ static void vpaint_paint_poly(VPaint *vp, VPaintData *vpd, Object *ob,
                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];