Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2017-04-12 11:08:07 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-04-12 11:11:10 +0300
commitcc0c5dbd91ec5036ddfc605beba74b277e874813 (patch)
treed0594d7e6f1870bfd54359326099bf1c7eaebe2d /source/blender/draw/modes/paint_weight_mode.c
parent9e94479359fedf1bea19888e60bc4fffb9b96cc5 (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_weight_mode.c')
-rw-r--r--source/blender/draw/modes/paint_weight_mode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/modes/paint_weight_mode.c b/source/blender/draw/modes/paint_weight_mode.c
index 72251e18067..4e5bcd7e042 100644
--- a/source/blender/draw/modes/paint_weight_mode.c
+++ b/source/blender/draw/modes/paint_weight_mode.c
@@ -179,7 +179,7 @@ static void PAINT_WEIGHT_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);