From 27e86ed8324c5cc72e58f61231018b6c77689f03 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 20 Mar 2014 22:56:28 +1100 Subject: Code cleanup: use bools --- source/blender/modifiers/intern/MOD_particleinstance.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/blender/modifiers/intern/MOD_particleinstance.c') diff --git a/source/blender/modifiers/intern/MOD_particleinstance.c b/source/blender/modifiers/intern/MOD_particleinstance.c index 3928687c006..7aa81d6a003 100644 --- a/source/blender/modifiers/intern/MOD_particleinstance.c +++ b/source/blender/modifiers/intern/MOD_particleinstance.c @@ -80,11 +80,11 @@ static bool isDisabled(ModifierData *md, int useRenderParams) ModifierData *ob_md; if (!pimd->ob) - return TRUE; + return true; psys = BLI_findlink(&pimd->ob->particlesystem, pimd->psys - 1); if (psys == NULL) - return TRUE; + return true; /* If the psys modifier is disabled we cannot use its data. * First look up the psys modifier from the object, then check if it is enabled. @@ -99,14 +99,14 @@ static bool isDisabled(ModifierData *md, int useRenderParams) else required_mode = eModifierMode_Realtime; if (!modifier_isEnabled(md->scene, ob_md, required_mode)) - return TRUE; + return true; break; } } } - return FALSE; + return false; } -- cgit v1.2.3