Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2018-05-08 16:20:18 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2018-05-08 16:20:18 +0300
commit53a56b7b6c169b21df475ae94795208501581489 (patch)
tree011410b7ff5488b5b9d57029ed576929e770bceb /source/blender/modifiers/intern/MOD_weightvgmix.c
parentd89f9d70c52001e09ee3ab80a3547ba140e00aec (diff)
parent3740f7593d7146135c2d2fac363f8aed4ba41cf0 (diff)
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/modifiers/intern/MOD_weightvgmix.c')
-rw-r--r--source/blender/modifiers/intern/MOD_weightvgmix.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/source/blender/modifiers/intern/MOD_weightvgmix.c b/source/blender/modifiers/intern/MOD_weightvgmix.c
index 0841bc9bfc0..be73ff96496 100644
--- a/source/blender/modifiers/intern/MOD_weightvgmix.c
+++ b/source/blender/modifiers/intern/MOD_weightvgmix.c
@@ -126,16 +126,6 @@ static void initData(ModifierData *md)
wmd->mask_tex_mapping = MOD_DISP_MAP_LOCAL;
}
-static void copyData(ModifierData *md, ModifierData *target)
-{
-#if 0
- WeightVGMixModifierData *wmd = (WeightVGMixModifierData *) md;
- WeightVGMixModifierData *twmd = (WeightVGMixModifierData *) target;
-#endif
-
- modifier_copyData_generic(md, target);
-}
-
static CustomDataMask requiredDataMask(Object *UNUSED(ob), ModifierData *md)
{
WeightVGMixModifierData *wmd = (WeightVGMixModifierData *) md;
@@ -414,7 +404,7 @@ ModifierTypeInfo modifierType_WeightVGMix = {
eModifierTypeFlag_SupportsEditmode |
eModifierTypeFlag_UsesPreview,
- /* copyData */ copyData,
+ /* copyData */ modifier_copyData_generic,
/* deformVerts_DM */ NULL,
/* deformMatrices_DM */ NULL,