From f21c235c6fa6782dfc9c0ba7a66fa3c1005b2897 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 22 May 2017 23:31:46 +1000 Subject: DwM: texture paint support & mask mode Uses workaround so material slots are used when neither blender-internal or cycles are enabled. --- source/blender/draw/intern/draw_cache_impl.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/draw/intern/draw_cache_impl.h') diff --git a/source/blender/draw/intern/draw_cache_impl.h b/source/blender/draw/intern/draw_cache_impl.h index 812c873c153..bfb61199674 100644 --- a/source/blender/draw/intern/draw_cache_impl.h +++ b/source/blender/draw/intern/draw_cache_impl.h @@ -72,6 +72,8 @@ struct Batch *DRW_lattice_batch_cache_get_overlay_verts(struct Lattice *lt); /* Mesh */ struct Batch **DRW_mesh_batch_cache_get_surface_shaded(struct Mesh *me); +struct Batch **DRW_mesh_batch_cache_get_surface_texpaint(struct Mesh *me); +struct Batch *DRW_mesh_batch_cache_get_surface_texpaint_single(struct Mesh *me); struct Batch *DRW_mesh_batch_cache_get_weight_overlay_edges(struct Mesh *me, bool use_wire, bool use_sel); struct Batch *DRW_mesh_batch_cache_get_weight_overlay_faces(struct Mesh *me); struct Batch *DRW_mesh_batch_cache_get_weight_overlay_verts(struct Mesh *me); -- cgit v1.2.3