From 3740f7593d7146135c2d2fac363f8aed4ba41cf0 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Tue, 8 May 2018 15:04:10 +0200 Subject: 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! --- source/blender/modifiers/intern/MOD_smooth.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'source/blender/modifiers/intern/MOD_smooth.c') diff --git a/source/blender/modifiers/intern/MOD_smooth.c b/source/blender/modifiers/intern/MOD_smooth.c index 92025512f02..aa477fd0da5 100644 --- a/source/blender/modifiers/intern/MOD_smooth.c +++ b/source/blender/modifiers/intern/MOD_smooth.c @@ -58,15 +58,6 @@ static void initData(ModifierData *md) smd->defgrp_name[0] = '\0'; } -static void copyData(ModifierData *md, ModifierData *target) -{ -#if 0 - SmoothModifierData *smd = (SmoothModifierData *) md; - SmoothModifierData *tsmd = (SmoothModifierData *) target; -#endif - modifier_copyData_generic(md, target); -} - static bool isDisabled(ModifierData *md, int UNUSED(useRenderParams)) { SmoothModifierData *smd = (SmoothModifierData *) md; @@ -250,7 +241,7 @@ ModifierTypeInfo modifierType_Smooth = { eModifierTypeFlag_AcceptsCVs | eModifierTypeFlag_SupportsEditmode, - /* copyData */ copyData, + /* copyData */ modifier_copyData_generic, /* deformVerts */ deformVerts, /* deformMatrices */ NULL, /* deformVertsEM */ deformVertsEM, -- cgit v1.2.3