[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [22871] branches/blender2.5/blender/source /blender/editors/sculpt_paint/paint_vertex.c: 2.5 Paint:

Nicholas Bishop nicholasbishop at gmail.com
Sat Aug 29 23:51:58 CEST 2009


Revision: 22871
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=22871
Author:   nicholasbishop
Date:     2009-08-29 23:51:58 +0200 (Sat, 29 Aug 2009)

Log Message:
-----------
2.5 Paint:

* Don't do shared vertex colors for every vpaint dot. Profiling on a large mesh showed vpaint spent about 65% of the time in this function, but most of the time no difference will be apparent in the result. (Could make an operator so the user can force this operation after doing some painting.)

TODO:
Profiling now shows most time spent in drawing the mesh. (This is done twice for vpaint, the first time for finding backbuf sampling.)

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

Modified: branches/blender2.5/blender/source/blender/editors/sculpt_paint/paint_vertex.c
===================================================================
--- branches/blender2.5/blender/source/blender/editors/sculpt_paint/paint_vertex.c	2009-08-29 21:14:22 UTC (rev 22870)
+++ branches/blender2.5/blender/source/blender/editors/sculpt_paint/paint_vertex.c	2009-08-29 21:51:58 UTC (rev 22871)
@@ -1733,8 +1733,6 @@
 						
 	MTC_Mat4SwapMat4(vc->rv3d->persmat, mat);
 			
-	do_shared_vertexcol(me);
-			
 	ED_region_tag_redraw(vc->ar);
 			
 	DAG_object_flush_update(vc->scene, ob, OB_RECALC_DATA);





More information about the Bf-blender-cvs mailing list