Blender Git Loki
Git Commits -> Revision 3e86bb2
Revision 3e86bb2 by Bastien Montagne (master) June 8, 2018, 15:23 (GMT) |
Sculpt/Paint: move PBVH building to use evaluated mesh instead of deprecated Derivedmesh. Pretty straightforward changes, merely mimicking dm-related code, which was already essentially using either Mesh or BMesh data to build the PBVH... Note that we "lose" the subsurf (a.k.a. grid) PBVH case here, but that one was already dead code in current blender2.8, since final dm is always a cddm built from evaluated mesh. Proper fix is pending new code for subsurf/multires area. |
Commit Details:
Full Hash: 3e86bb2d0bf1b13b4e482411dd176bac13e90961
Parent Commit: 1ce5569
Lines Changed: +124, -22
5 Modified Paths:
/source/blender/blenkernel/BKE_paint.h (+5, -1) (Diff)
/source/blender/blenkernel/intern/paint.c (+112, -11) (Diff)
/source/blender/editors/sculpt_paint/paint_hide.c (+3, -4) (Diff)
/source/blender/editors/sculpt_paint/paint_vertex.c (+2, -2) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+2, -4) (Diff)
/source/blender/blenkernel/intern/paint.c (+112, -11) (Diff)
/source/blender/editors/sculpt_paint/paint_hide.c (+3, -4) (Diff)
/source/blender/editors/sculpt_paint/paint_vertex.c (+2, -2) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+2, -4) (Diff)