Blender Git Loki

Git Commits -> Revision 977c6b2

May 25, 2016, 10:15 (GMT)
Remove call to BKE_pbvh_draw from draw_mesh_paint, add pbvh BB drawing to dm's mappedfaces drawing callbacks.

Reading BKE_draw_pbvh code, this function actually handles the whole drawing,
seems like it does a partial update of only modified geometry (optimized drawing
in solid shadding case), don?t think we need that for v/wpaint, at least for now.

So rather just added a call to BKE_pbvh_draw_BB (in case debug value is set)
in dm's mappedfaces drawing callbacks, should do for now.

Commit Details:

Full Hash: 977c6b2316ef09d0fa14a59bc39bda88c69f2033
Parent Commit: 67c8ea8
Lines Changed: +14, -18

6 Modified Paths:

/source/blender/blenkernel/BKE_pbvh.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/cdderivedmesh.c (+5, -0) (Diff)
/source/blender/blenkernel/intern/pbvh.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+5, -0) (Diff)
/source/blender/editors/space_view3d/drawmesh.c (+0, -15) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021