diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-12-26 01:26:41 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-12-26 01:27:08 +0400 |
commit | a5606fadbb32b69a1262cb80a8aa2a60189f4232 (patch) | |
tree | 00af93cddb3ae52456ac3d475cc4d15ecf794c5a /source/blender/modifiers/intern/MOD_armature.c | |
parent | 07ebe893643c433d3fa09d120f780ef14b88f4b3 (diff) |
Code Cleanup: remove object arg to CDDM_from_mesh mesh_create_derived
Diffstat (limited to 'source/blender/modifiers/intern/MOD_armature.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_armature.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_armature.c b/source/blender/modifiers/intern/MOD_armature.c index 3ab7bff0e63..e81fc44f238 100644 --- a/source/blender/modifiers/intern/MOD_armature.c +++ b/source/blender/modifiers/intern/MOD_armature.c @@ -179,7 +179,7 @@ static void deformMatrices(ModifierData *md, Object *ob, DerivedMesh *derivedDat ArmatureModifierData *amd = (ArmatureModifierData *) md; DerivedMesh *dm = derivedData; - if (!derivedData) dm = CDDM_from_mesh((Mesh *)ob->data, ob); + if (!derivedData) dm = CDDM_from_mesh((Mesh *)ob->data); armature_deform_verts(amd->object, ob, dm, vertexCos, defMats, numVerts, amd->deformflag, NULL, amd->defgrp_name); |