diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2018-05-08 16:04:10 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-05-08 16:04:10 +0300 |
commit | 3740f7593d7146135c2d2fac363f8aed4ba41cf0 (patch) | |
tree | 73b7c69eca3db4a8b1337588d36dd18b7b4d9cc8 /source/blender/modifiers/intern/MOD_screw.c | |
parent | 49fe27ee46b4d9272957c21c13365db322ca8396 (diff) |
Cleanup: Nuke empty dummy wrappers around modifier_copyData_generic().
This also changes signature of modifier copy callback, first (source)
parameter is now a const, which is saner anyway!
Diffstat (limited to 'source/blender/modifiers/intern/MOD_screw.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_screw.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/source/blender/modifiers/intern/MOD_screw.c b/source/blender/modifiers/intern/MOD_screw.c index 047b1d5c47d..ec6e0d9a2f4 100644 --- a/source/blender/modifiers/intern/MOD_screw.c +++ b/source/blender/modifiers/intern/MOD_screw.c @@ -176,15 +176,6 @@ static void initData(ModifierData *md) ltmd->merge_dist = 0.01f; } -static void copyData(ModifierData *md, ModifierData *target) -{ -#if 0 - ScrewModifierData *sltmd = (ScrewModifierData *) md; - ScrewModifierData *tltmd = (ScrewModifierData *) target; -#endif - modifier_copyData_generic(md, target); -} - static DerivedMesh *applyModifier(ModifierData *md, Object *ob, DerivedMesh *derivedData, ModifierApplyFlag flag) @@ -1160,7 +1151,7 @@ ModifierTypeInfo modifierType_Screw = { eModifierTypeFlag_SupportsEditmode | eModifierTypeFlag_EnableInEditmode, - /* copyData */ copyData, + /* copyData */ modifier_copyData_generic, /* deformVerts */ NULL, /* deformMatrices */ NULL, /* deformVertsEM */ NULL, |