diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-12-18 19:10:38 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-12-18 22:51:52 +0300 |
commit | 99fb654ffda3bacdb25d9955fe31c82b54fa3dd1 (patch) | |
tree | 388d2597a4c77920b37cc8986c429035178027de /source/blender/draw/modes/paint_vertex_mode.c | |
parent | df88b6a48d313d1ac2ed9e5eaabc0bbec640ce2b (diff) |
DRW: Cleanup / Renaming of mesh batch cache functions
THis is in order to avoid the jungle of names being different at each
step of the API.
Also removes some unused functions.
Diffstat (limited to 'source/blender/draw/modes/paint_vertex_mode.c')
-rw-r--r-- | source/blender/draw/modes/paint_vertex_mode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/draw/modes/paint_vertex_mode.c b/source/blender/draw/modes/paint_vertex_mode.c index 7d3aa0f0b20..d57777675af 100644 --- a/source/blender/draw/modes/paint_vertex_mode.c +++ b/source/blender/draw/modes/paint_vertex_mode.c @@ -165,12 +165,12 @@ static void PAINT_VERTEX_cache_populate(void *vedata, Object *ob) } if (use_surface) { - geom = DRW_cache_mesh_surface_vert_colors_get(ob); + geom = DRW_cache_mesh_surface_vertpaint_get(ob); DRW_shgroup_call_add(stl->g_data->fvcolor_shgrp, geom, ob->obmat); } if (use_face_sel || use_wire) { - geom = DRW_cache_mesh_wire_get(ob); + geom = DRW_cache_mesh_surface_edges_get(ob); DRW_shgroup_call_add(stl->g_data->lwire_shgrp, geom, ob->obmat); } |