diff options
Diffstat (limited to 'source/blender/blenkernel/intern/armature.c')
-rw-r--r-- | source/blender/blenkernel/intern/armature.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/armature.c b/source/blender/blenkernel/intern/armature.c index 21f833fb32f..7fb3f9a260b 100644 --- a/source/blender/blenkernel/intern/armature.c +++ b/source/blender/blenkernel/intern/armature.c @@ -699,7 +699,7 @@ void armature_deform_verts(Object *armOb, Object *target, DerivedMesh *dm, } /* if we have a DerivedMesh, only use dverts if it has them */ if(dm) - if(dm->getVertData(dm, 0, LAYERTYPE_MDEFORMVERT)) + if(dm->getVertData(dm, 0, CD_MDEFORMVERT)) use_dverts = 1; else use_dverts = 0; else if(dverts) use_dverts = 1; @@ -734,7 +734,7 @@ void armature_deform_verts(Object *armOb, Object *target, DerivedMesh *dm, Mat4MulVecfl(premat, co); if(use_dverts || armature_def_nr >= 0) { - if(dm) dvert = dm->getVertData(dm, i, LAYERTYPE_MDEFORMVERT); + if(dm) dvert = dm->getVertData(dm, i, CD_MDEFORMVERT); else if(i < target_totvert) dvert = dverts + i; else dvert = NULL; } else |