[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43891] branches/bmesh/blender/source/ blender/editors/sculpt_paint/paint_vertex.c: fix for vpaint fill not working, check loopcol rather then tessface color.

Campbell Barton ideasman42 at gmail.com
Sun Feb 5 05:40:55 CET 2012


Revision: 43891
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43891
Author:   campbellbarton
Date:     2012-02-05 04:40:45 +0000 (Sun, 05 Feb 2012)
Log Message:
-----------
fix for vpaint fill not working, check loopcol rather then tessface color.

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

Modified: branches/bmesh/blender/source/blender/editors/sculpt_paint/paint_vertex.c
===================================================================
--- branches/bmesh/blender/source/blender/editors/sculpt_paint/paint_vertex.c	2012-02-05 04:11:34 UTC (rev 43890)
+++ branches/bmesh/blender/source/blender/editors/sculpt_paint/paint_vertex.c	2012-02-05 04:40:45 UTC (rev 43891)
@@ -425,8 +425,8 @@
 	me= get_mesh(ob);
 	if(me==NULL || me->totpoly==0) return;
 
-	if(!me->mcol) make_vertexcol(ob);
-	if(!me->mcol) return; /* possible we can't make mcol's */
+	if(!me->mloopcol) make_vertexcol(ob);
+	if(!me->mloopcol) return; /* possible we can't make mcol's */
 
 
 	selected= (me->editflag & ME_EDIT_PAINT_MASK);




More information about the Bf-blender-cvs mailing list