diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-04-12 11:08:07 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-04-12 11:11:10 +0300 |
commit | cc0c5dbd91ec5036ddfc605beba74b277e874813 (patch) | |
tree | d0594d7e6f1870bfd54359326099bf1c7eaebe2d /source/blender/draw/modes/paint_texture_mode.c | |
parent | 9e94479359fedf1bea19888e60bc4fffb9b96cc5 (diff) |
Cleanup: use DRW_cache_mesh prefix w/ mesh objects
Avoid confusion for non mesh types where verts/wire/surface might apply.
Other object types use this convention already.
Diffstat (limited to 'source/blender/draw/modes/paint_texture_mode.c')
-rw-r--r-- | source/blender/draw/modes/paint_texture_mode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/modes/paint_texture_mode.c b/source/blender/draw/modes/paint_texture_mode.c index 4476ed69b75..a795727e816 100644 --- a/source/blender/draw/modes/paint_texture_mode.c +++ b/source/blender/draw/modes/paint_texture_mode.c @@ -182,7 +182,7 @@ static void PAINT_TEXTURE_cache_populate(void *vedata, Object *ob) if (ob->type == OB_MESH) { /* Get geometry cache */ - struct Batch *geom = DRW_cache_surface_get(ob); + struct Batch *geom = DRW_cache_mesh_surface_get(ob); /* Add geom to a shading group */ DRW_shgroup_call_add(stl->g_data->group, geom, ob->obmat); |