From 99fb654ffda3bacdb25d9955fe31c82b54fa3dd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Tue, 18 Dec 2018 17:10:38 +0100 Subject: 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. --- source/blender/draw/intern/draw_armature.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/draw/intern/draw_armature.c') diff --git a/source/blender/draw/intern/draw_armature.c b/source/blender/draw/intern/draw_armature.c index 8d0cae3cc4a..e5a15a9d01d 100644 --- a/source/blender/draw/intern/draw_armature.c +++ b/source/blender/draw/intern/draw_armature.c @@ -363,7 +363,7 @@ static void drw_shgroup_bone_custom_wire( const float color[4], Object *custom) { /* grr, not re-using instances! */ - struct GPUBatch *geom = DRW_cache_object_wire_outline_get(custom); + struct GPUBatch *geom = DRW_cache_object_all_edges_get(custom); /* XXXXXXX needs to be moved elsewhere. */ drw_batch_cache_generate_requested(custom); -- cgit v1.2.3