diff options
author | Jacques Lucke <mail@jlucke.com> | 2018-09-20 13:04:17 +0300 |
---|---|---|
committer | Jacques Lucke <mail@jlucke.com> | 2018-09-20 13:04:17 +0300 |
commit | b5dbe43d3ebfdc238d56bbb71ec17735cebdc951 (patch) | |
tree | 09e09ea4d5d78887e048b214f7ca9a0011641e5d /source/blender/blenkernel/intern/displist.c | |
parent | add8e1c018bb5342cdad14a7d143d2b38ffa5bf5 (diff) |
Cleanup: move DerivedMesh wrappers for modifiers further down the hierarchy
The main goal of this patch is to cleanup the interface of every modifier. More specifically the interface of modifiers should be DerivedMesh-free.
Internally some modifiers still use DerivedMesh. However I think it is better when the wrappers are in the modifiers so that higher level functions can use the simplified interface.
This patch removes the applyModifier_DM and applyModifierEM_DM functions. In a previous patch (rB3614d9d) the other functions that used DerivedMesh have been removed.
Reviewers: brecht
Diffstat (limited to 'source/blender/blenkernel/intern/displist.c')
-rw-r--r-- | source/blender/blenkernel/intern/displist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/displist.c b/source/blender/blenkernel/intern/displist.c index fdcf38c7d41..26a66dc9ce2 100644 --- a/source/blender/blenkernel/intern/displist.c +++ b/source/blender/blenkernel/intern/displist.c @@ -1021,7 +1021,7 @@ static void curve_calc_modifiers_post( vertCos = NULL; } - mesh_applied = modifier_applyModifier(md, &mectx_apply, modified); + mesh_applied = mti->applyModifier(md, &mectx_apply, modified); if (mesh_applied) { /* Modifier returned a new derived mesh */ |