diff options
author | Joseph Eagar <joeedh@gmail.com> | 2009-04-11 12:26:51 +0400 |
---|---|---|
committer | Joseph Eagar <joeedh@gmail.com> | 2009-04-11 12:26:51 +0400 |
commit | 59578bfad2b5ab0cd8cb384840ebf17761651851 (patch) | |
tree | 0c21d570c761a6f3d3f81c1efc869498bd7945a1 /source/blender/blenkernel/intern/anim.c | |
parent | fc02e980f43074a383b249c7d8118a7132afec47 (diff) |
as per discussion with ton, the editmesh accessors now live
in blenkernel.
Diffstat (limited to 'source/blender/blenkernel/intern/anim.c')
-rw-r--r-- | source/blender/blenkernel/intern/anim.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/blenkernel/intern/anim.c b/source/blender/blenkernel/intern/anim.c index fcd179d48de..cffd97c70b1 100644 --- a/source/blender/blenkernel/intern/anim.c +++ b/source/blender/blenkernel/intern/anim.c @@ -457,11 +457,11 @@ static void vertex_duplilist(ListBase *lb, ID *id, Scene *scene, Object *par, fl /* simple preventing of too deep nested groups */ if(level>MAX_DUPLI_RECUR) return; - em = EM_GetEditMesh(me); + em = BKE_mesh_get_editmesh(me); if(em) { dm= editmesh_get_derived_cage(scene, par, em, CD_MASK_BAREMESH); - EM_EndEditMesh(me, em); + BKE_mesh_end_editmesh(me, em); } else dm= mesh_get_derived_deform(scene, par, CD_MASK_BAREMESH); @@ -572,7 +572,7 @@ static void face_duplilist(ListBase *lb, ID *id, Scene *scene, Object *par, floa Mat4CpyMat4(pmat, par->obmat); - em = EM_GetEditMesh(me); + em = BKE_mesh_get_editmesh(me); if(em) { int totvert; @@ -585,7 +585,7 @@ static void face_duplilist(ListBase *lb, ID *id, Scene *scene, Object *par, floa mvert= MEM_mallocN(sizeof(MVert)*totvert, "mvert temp"); dm->copyVertArray(dm, mvert); - EM_EndEditMesh(me, em); + BKE_mesh_end_editmesh(me, em); } else { dm = mesh_get_derived_deform(scene, par, CD_MASK_BAREMESH); |