Cleanup: MOD_wireframe: remove useless isDisabled callback.
authorBastien Montagne <montagne29@wanadoo.fr>
Wed, 24 Jan 2018 10:20:46 +0000 (11:20 +0100)
committerBastien Montagne <montagne29@wanadoo.fr>
Wed, 24 Jan 2018 10:22:35 +0000 (11:22 +0100)
source/blender/modifiers/intern/MOD_wireframe.c

index adadd4834d46f8ed122dd2cf9d17753859813f5b..15f8b185a3d2ddc1ba04d70285ea934b76a65bf2 100644 (file)
@@ -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,