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:
Diffstat (limited to 'source/blender/draw/intern/draw_cache_impl_lattice.c')
-rw-r--r--source/blender/draw/intern/draw_cache_impl_lattice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/intern/draw_cache_impl_lattice.c b/source/blender/draw/intern/draw_cache_impl_lattice.c
index 8e5e22a4bcd..144bfac0b21 100644
--- a/source/blender/draw/intern/draw_cache_impl_lattice.c
+++ b/source/blender/draw/intern/draw_cache_impl_lattice.c
@@ -366,7 +366,7 @@ static GPUVertBuf *lattice_batch_cache_get_pos(LatticeRenderData *rdata,
if (use_weight) {
const float no_active_weight = 666.0f;
- float weight = (actdef > -1) ? defvert_find_weight(rdata->dvert + i, actdef) :
+ float weight = (actdef > -1) ? BKE_defvert_find_weight(rdata->dvert + i, actdef) :
no_active_weight;
GPU_vertbuf_attr_set(cache->pos, attr_id.col, i, &weight);
}