Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-10-24 15:03:51 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-10-24 15:04:29 +0300
commit91c6beb28ab9c2914262c4010bcbc8d7f1e1bf29 (patch)
tree29e70ef6b2b2e77e4577cc979abfeb83155eaa46 /source/blender/blenkernel/intern/modifier.c
parent547d31c8da1fcb938e91887909c5e2f3b3d180d5 (diff)
Cleanup: Remove unused modifiers callback
Was only used by subsurf in the past years, it is unlikely other modifiers will every need this any time soon.
Diffstat (limited to 'source/blender/blenkernel/intern/modifier.c')
-rw-r--r--source/blender/blenkernel/intern/modifier.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/source/blender/blenkernel/intern/modifier.c b/source/blender/blenkernel/intern/modifier.c
index 41c35de8aea..73a9d462687 100644
--- a/source/blender/blenkernel/intern/modifier.c
+++ b/source/blender/blenkernel/intern/modifier.c
@@ -839,19 +839,6 @@ struct Mesh *modwrap_applyModifier(
return mti->applyModifier(md, ctx, me);
}
-struct Mesh *modwrap_applyModifierEM(
- ModifierData *md, const ModifierEvalContext *ctx,
- struct BMEditMesh *em, Mesh *me)
-{
- const ModifierTypeInfo *mti = modifierType_getInfo(md->type);
- BLI_assert(CustomData_has_layer(&me->pdata, CD_NORMAL) == false);
-
- if (mti->dependsOnNormals && mti->dependsOnNormals(md)) {
- BKE_mesh_calc_normals(me);
- }
- return mti->applyModifierEM(md, ctx, em, me);
-}
-
void modwrap_deformVerts(
ModifierData *md, const ModifierEvalContext *ctx,
Mesh *me, float (*vertexCos)[3], int numVerts)