[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [56462] trunk/blender/source/blender/ editors/sculpt_paint/paint_vertex.c: add missing call to update rv3d-> persmatob, mostly this worked except with active-unselected object

Campbell Barton ideasman42 at gmail.com
Thu May 2 04:39:31 CEST 2013


Revision: 56462
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=56462
Author:   campbellbarton
Date:     2013-05-02 02:39:30 +0000 (Thu, 02 May 2013)
Log Message:
-----------
add missing call to update rv3d->persmatob, mostly this worked except with active-unselected object

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

Modified: trunk/blender/source/blender/editors/sculpt_paint/paint_vertex.c
===================================================================
--- trunk/blender/source/blender/editors/sculpt_paint/paint_vertex.c	2013-05-02 01:49:10 UTC (rev 56461)
+++ trunk/blender/source/blender/editors/sculpt_paint/paint_vertex.c	2013-05-02 02:39:30 UTC (rev 56462)
@@ -3388,6 +3388,8 @@
 		data.weightpaint = BKE_brush_weight_get(scene, brush);
 	}
 
+	ED_view3d_init_mats_rv3d(ob, ar->regiondata);
+
 	dm->foreachMappedVert(dm, gradientVert__mapFunc, &data);
 
 	DAG_id_tag_update(&ob->id, OB_RECALC_DATA);




More information about the Bf-blender-cvs mailing list