diff options
Diffstat (limited to 'source/blender/bmesh/tools')
-rw-r--r-- | source/blender/bmesh/tools/bmesh_bevel.c | 2 | ||||
-rw-r--r-- | source/blender/bmesh/tools/bmesh_wireframe.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/bmesh/tools/bmesh_bevel.c b/source/blender/bmesh/tools/bmesh_bevel.c index e99f6699173..6fc53da4940 100644 --- a/source/blender/bmesh/tools/bmesh_bevel.c +++ b/source/blender/bmesh/tools/bmesh_bevel.c @@ -5876,7 +5876,7 @@ static BevVert *bevel_vert_construct(BMesh *bm, BevelParams *bp, BMVert *v) if (bp->vertex_only) { /* If weighted, modify offset by weight. */ if (bp->dvert != NULL && bp->vertex_group != -1) { - weight = defvert_find_weight(bp->dvert + BM_elem_index_get(v), bp->vertex_group); + weight = BKE_defvert_find_weight(bp->dvert + BM_elem_index_get(v), bp->vertex_group); bv->offset *= weight; } else if (bp->use_weights) { diff --git a/source/blender/bmesh/tools/bmesh_wireframe.c b/source/blender/bmesh/tools/bmesh_wireframe.c index 0026cab7419..1cfd608e959 100644 --- a/source/blender/bmesh/tools/bmesh_wireframe.c +++ b/source/blender/bmesh/tools/bmesh_wireframe.c @@ -270,7 +270,7 @@ void BM_mesh_wireframe(BMesh *bm, if (cd_dvert_offset != -1) { MDeformVert *dvert = BM_ELEM_CD_GET_VOID_P(v_src, cd_dvert_offset); - float defgrp_fac = defvert_find_weight(dvert, defgrp_index); + float defgrp_fac = BKE_defvert_find_weight(dvert, defgrp_index); if (defgrp_invert) { defgrp_fac = 1.0f - defgrp_fac; |