diff options
Diffstat (limited to 'source/blender/src/drawview.c')
-rw-r--r-- | source/blender/src/drawview.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/drawview.c b/source/blender/src/drawview.c index ea4e6349140..45392c6cc71 100644 --- a/source/blender/src/drawview.c +++ b/source/blender/src/drawview.c @@ -1567,7 +1567,7 @@ static void v3d_editvertex_buts(uiBlock *block, Object *ob, float lim) /* check for defgroups */ if(evedef) - dvert= CustomData_em_get(&em->vdata, evedef->data, LAYERTYPE_MDEFORMVERT); + dvert= CustomData_em_get(&em->vdata, evedef->data, CD_MDEFORMVERT); if(tot==1 && dvert && dvert->totweight) { bDeformGroup *dg; int i, max=1, init=1; |