diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-10-15 06:29:46 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-10-15 06:29:46 +0300 |
commit | f9f67e0239c7fe696872e9c06300b296799faa42 (patch) | |
tree | 3702c6a6cfbaabfdce8fb9eeb16fc0e107f2b632 /source/blender/editors/object | |
parent | 881334c499c839679b4b40e0ce1ca6bda3c03a39 (diff) |
Mesh: remove DerivedMesh from various places
Diffstat (limited to 'source/blender/editors/object')
-rw-r--r-- | source/blender/editors/object/object_modifier.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/object/object_modifier.c b/source/blender/editors/object/object_modifier.c index 2b5b5a078a6..053d6226d93 100644 --- a/source/blender/editors/object/object_modifier.c +++ b/source/blender/editors/object/object_modifier.c @@ -1730,7 +1730,7 @@ static void skin_armature_bone_create(Object *skin_ob, static Object *modifier_skin_armature_create(Depsgraph *depsgraph, Main *bmain, Scene *scene, Object *skin_ob) { BLI_bitmap *edges_visited; - DerivedMesh *deform_dm; + Mesh *me_eval_deform; MVert *mvert; Mesh *me = skin_ob->data; Object *arm_ob; @@ -1740,8 +1740,8 @@ static Object *modifier_skin_armature_create(Depsgraph *depsgraph, Main *bmain, int *emap_mem; int v; - deform_dm = mesh_get_derived_deform(depsgraph, scene, skin_ob, CD_MASK_BAREMESH); - mvert = deform_dm->getVertArray(deform_dm); + me_eval_deform = mesh_get_eval_deform(depsgraph, scene, skin_ob, CD_MASK_BAREMESH); + mvert = me_eval_deform->mvert; /* add vertex weights to original mesh */ CustomData_add_layer(&me->vdata, |