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_correctivesmooth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/modifiers/intern/MOD_correctivesmooth.c') diff --git a/source/blender/modifiers/intern/MOD_correctivesmooth.c b/source/blender/modifiers/intern/MOD_correctivesmooth.c index 08f4588df87..f0590264114 100644 --- a/source/blender/modifiers/intern/MOD_correctivesmooth.c +++ b/source/blender/modifiers/intern/MOD_correctivesmooth.c @@ -80,9 +80,9 @@ static void initData(ModifierData *md) } -static void copyData(ModifierData *md, ModifierData *target) +static void copyData(const ModifierData *md, ModifierData *target) { - CorrectiveSmoothModifierData *csmd = (CorrectiveSmoothModifierData *)md; + const CorrectiveSmoothModifierData *csmd = (const CorrectiveSmoothModifierData *)md; CorrectiveSmoothModifierData *tcsmd = (CorrectiveSmoothModifierData *)target; modifier_copyData_generic(md, target); -- cgit v1.2.3