From e648ca8862a2cee3723450b67f556e222b8b0d6b Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 2 Jun 2013 03:59:19 +0000 Subject: use booleans for modifiers and api callbacks. --- source/blender/modifiers/intern/MOD_weightvgedit.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/modifiers/intern/MOD_weightvgedit.c') diff --git a/source/blender/modifiers/intern/MOD_weightvgedit.c b/source/blender/modifiers/intern/MOD_weightvgedit.c index 2cb41cb6196..eee0856d69e 100644 --- a/source/blender/modifiers/intern/MOD_weightvgedit.c +++ b/source/blender/modifiers/intern/MOD_weightvgedit.c @@ -121,13 +121,13 @@ static CustomDataMask requiredDataMask(Object *UNUSED(ob), ModifierData *md) return dataMask; } -static int dependsOnTime(ModifierData *md) +static bool dependsOnTime(ModifierData *md) { WeightVGEditModifierData *wmd = (WeightVGEditModifierData *) md; if (wmd->mask_texture) return BKE_texture_dependsOnTime(wmd->mask_texture); - return 0; + return false; } static void foreachObjectLink(ModifierData *md, Object *ob, @@ -170,7 +170,7 @@ static void updateDepgraph(ModifierData *md, DagForest *forest, struct Scene *UN "WeightVGEdit Modifier"); } -static int isDisabled(ModifierData *md, int UNUSED(useRenderParams)) +static bool isDisabled(ModifierData *md, int UNUSED(useRenderParams)) { WeightVGEditModifierData *wmd = (WeightVGEditModifierData *) md; /* If no vertex group, bypass. */ -- cgit v1.2.3