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_smoke.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_smoke.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_smoke.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/modifiers/intern/MOD_smoke.c b/source/blender/modifiers/intern/MOD_smoke.c index 2073e23b7b2..cd179f71d3c 100644 --- a/source/blender/modifiers/intern/MOD_smoke.c +++ b/source/blender/modifiers/intern/MOD_smoke.c @@ -68,9 +68,9 @@ static void initData(ModifierData *md) smd->time = -1; } -static void copyData(ModifierData *md, ModifierData *target) +static void copyData(const ModifierData *md, ModifierData *target) { - SmokeModifierData *smd = (SmokeModifierData *)md; + const SmokeModifierData *smd = (const SmokeModifierData *)md; SmokeModifierData *tsmd = (SmokeModifierData *)target; smokeModifier_copy(smd, tsmd); |