[Bf-blender-cvs] [e68771fa876] master: Cleanup: MOD_wireframe: remove useless isDisabled callback.

Bastien Montagne noreply at git.blender.org
Wed Jan 24 11:24:05 CET 2018


Commit: e68771fa8760035050f476895ebe791c4857f91b
Author: Bastien Montagne
Date:   Wed Jan 24 11:20:46 2018 +0100
Branches: master
https://developer.blender.org/rBe68771fa8760035050f476895ebe791c4857f91b

Cleanup: MOD_wireframe: remove useless isDisabled callback.

===================================================================

M	source/blender/modifiers/intern/MOD_wireframe.c

===================================================================

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,



More information about the Bf-blender-cvs mailing list