diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2018-01-24 13:20:46 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-01-24 13:22:35 +0300 |
commit | e68771fa8760035050f476895ebe791c4857f91b (patch) | |
tree | d69ce0ae25fb9abd67d0e05522085d82cb810578 /source | |
parent | a55a4818d664a04fa176cc54d447598ca565af8a (diff) |
Cleanup: MOD_wireframe: remove useless isDisabled callback.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/modifiers/intern/MOD_wireframe.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/source/blender/modifiers/intern/MOD_wireframe.c b/source/blender/modifiers/intern/MOD_wireframe.c index adadd4834d4..15f8b185a3d 100644 --- a/source/blender/modifiers/intern/MOD_wireframe.c +++ b/source/blender/modifiers/intern/MOD_wireframe.c @@ -52,11 +52,6 @@ static void copyData(ModifierData *md, ModifierData *target) modifier_copyData_generic(md, target); } -static bool isDisabled(ModifierData *UNUSED(md), int UNUSED(useRenderParams)) -{ - return false; -} - static CustomDataMask requiredDataMask(Object *UNUSED(ob), ModifierData *md) { WireframeModifierData *wmd = (WireframeModifierData *)md; @@ -131,7 +126,7 @@ ModifierTypeInfo modifierType_Wireframe = { /* initData */ initData, /* requiredDataMask */ requiredDataMask, /* freeData */ NULL, - /* isDisabled */ isDisabled, + /* isDisabled */ NULL, /* updateDepgraph */ NULL, /* updateDepsgraph */ NULL, /* dependsOnTime */ NULL, |