[Bf-blender-cvs] [4c32bcc] soc-2016-pbvh-painting: Modiffied vertex paint's done step to be more efficient. WPaint could use a fast update mode like vpaint currently has...
Nathan Vollmer
noreply at git.blender.org
Sun Sep 25 02:30:02 CEST 2016
Commit: 4c32bcca402778a602a70fab0a7165545ef5a2e0
Author: Nathan Vollmer
Date: Sat Sep 24 18:29:55 2016 -0600
Branches: soc-2016-pbvh-painting
https://developer.blender.org/rB4c32bcca402778a602a70fab0a7165545ef5a2e0
Modiffied vertex paint's done step to be more efficient. WPaint could use a fast update mode like vpaint currently has...
===================================================================
M source/blender/editors/sculpt_paint/paint_vertex.c
===================================================================
diff --git a/source/blender/editors/sculpt_paint/paint_vertex.c b/source/blender/editors/sculpt_paint/paint_vertex.c
index ec3c276..3b32788 100644
--- a/source/blender/editors/sculpt_paint/paint_vertex.c
+++ b/source/blender/editors/sculpt_paint/paint_vertex.c
@@ -2794,6 +2794,7 @@ static void wpaint_stroke_update_step(bContext *C, struct PaintStroke *stroke, P
paint_last_stroke_update(scene, vc->ar, mval);
DAG_id_tag_update(ob->data, 0);
+
swap_m4m4(wpd->vc.rv3d->persmat, mat);
rcti r;
@@ -3679,7 +3680,6 @@ static void vpaint_stroke_done(const bContext *C, struct PaintStroke *stroke)
MEM_freeN(vpd->mlooptag);
WM_event_add_notifier(C, NC_OBJECT | ND_DRAW, ob);
- DAG_id_tag_update(&me->id, 0);
MEM_freeN(vpd);
More information about the Bf-blender-cvs
mailing list