diff options
Diffstat (limited to 'source/blender/blenkernel/BKE_modifier.h')
-rw-r--r-- | source/blender/blenkernel/BKE_modifier.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/source/blender/blenkernel/BKE_modifier.h b/source/blender/blenkernel/BKE_modifier.h index 9504eff7dec..c228e56e88d 100644 --- a/source/blender/blenkernel/BKE_modifier.h +++ b/source/blender/blenkernel/BKE_modifier.h @@ -426,16 +426,6 @@ void modwrap_deformVertsEM( struct BMEditMesh *em, struct Mesh *me, float (*vertexCos)[3], int numVerts); -#define applyModifier_DM_wrapper(NEW_FUNC_NAME, OLD_FUNC_NAME) \ - static Mesh *NEW_FUNC_NAME(ModifierData *md, const ModifierEvalContext *ctx, Mesh *mesh) \ - { \ - DerivedMesh *dm = CDDM_from_mesh_ex(mesh, CD_REFERENCE, CD_MASK_EVERYTHING); \ - DerivedMesh *ndm = OLD_FUNC_NAME(md, ctx, dm); \ - if (ndm != dm) dm->release(dm); \ - DM_to_mesh(ndm, mesh, ctx->object, CD_MASK_EVERYTHING, true); \ - return mesh; \ - } - /* wrappers for modifier callbacks that accept Mesh and select the proper implementation * depending on if the modifier has been ported to Mesh or is still using DerivedMesh */ |