diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-03-20 15:56:28 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-03-20 15:56:28 +0400 |
commit | 27e86ed8324c5cc72e58f61231018b6c77689f03 (patch) | |
tree | 2ce5eafe712cd230a268ffa7491a60eaf68c65d1 /source/blender/modifiers/intern/MOD_particleinstance.c | |
parent | 03d053da4cf36d17d59434da0d17252411356554 (diff) |
Code cleanup: use bools
Diffstat (limited to 'source/blender/modifiers/intern/MOD_particleinstance.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_particleinstance.c | 8 |
1 files changed, 4 insertions, 4 deletions
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; } |