diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2009-08-30 01:51:58 +0400 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2009-08-30 01:51:58 +0400 |
commit | 7a562283434ea143cd6ec26b529dd3ea33047aa4 (patch) | |
tree | e67b3d5147ae6c5a329cd7bad9de69bf7c07b1fe /source/blender/editors/sculpt_paint | |
parent | 5ab556e0668ef7811e2ac69121813e16bce10146 (diff) |
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.)
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_vertex.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_vertex.c b/source/blender/editors/sculpt_paint/paint_vertex.c index 581d10ee883..f66a9fbc1ed 100644 --- a/source/blender/editors/sculpt_paint/paint_vertex.c +++ b/source/blender/editors/sculpt_paint/paint_vertex.c @@ -1733,8 +1733,6 @@ static void vpaint_stroke_update_step(bContext *C, struct PaintStroke *stroke, P 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); |