diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-06-02 07:59:19 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-06-02 07:59:19 +0400 |
commit | e648ca8862a2cee3723450b67f556e222b8b0d6b (patch) | |
tree | 2750fcc166057bd65a72d86964d394a800562c4c /source/blender/modifiers/intern/MOD_meshcache.c | |
parent | 7ce0ea00a01a3d6d409c8d5182d068a480c6c7d4 (diff) |
use booleans for modifiers and api callbacks.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_meshcache.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_meshcache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/modifiers/intern/MOD_meshcache.c b/source/blender/modifiers/intern/MOD_meshcache.c index be7bfae22fb..6d5caaa3ad1 100644 --- a/source/blender/modifiers/intern/MOD_meshcache.c +++ b/source/blender/modifiers/intern/MOD_meshcache.c @@ -96,13 +96,13 @@ static void copyData(ModifierData *md, ModifierData *target) BLI_strncpy(tmcmd->filepath, mcmd->filepath, sizeof(tmcmd->filepath)); } -static int dependsOnTime(ModifierData *md) +static bool dependsOnTime(ModifierData *md) { MeshCacheModifierData *mcmd = (MeshCacheModifierData *)md; return (mcmd->play_mode == MOD_MESHCACHE_PLAY_CFEA); } -static int isDisabled(ModifierData *md, int UNUSED(useRenderParams)) +static bool isDisabled(ModifierData *md, int UNUSED(useRenderParams)) { MeshCacheModifierData *mcmd = (MeshCacheModifierData *) md; |