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/sculpt_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/sculpt_mode.c')
-rw-r--r-- | source/blender/draw/modes/sculpt_mode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/modes/sculpt_mode.c b/source/blender/draw/modes/sculpt_mode.c index c21140e46d3..2fdd240ca79 100644 --- a/source/blender/draw/modes/sculpt_mode.c +++ b/source/blender/draw/modes/sculpt_mode.c @@ -176,7 +176,7 @@ static void SCULPT_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); |