diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-01-27 20:52:21 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-01-27 21:00:04 +0400 |
commit | a5c35fb27f090bb716a3bb49a69a56be80dff6d3 (patch) | |
tree | c2486c0781d2135c00ee58c78c042ba9d4f87b97 /source/blender/modifiers/intern/MOD_cast.c | |
parent | 60287e23b53a273aae56c42502278991dbeee9e7 (diff) |
Code cleanup: use booleans where appropriate
Diffstat (limited to 'source/blender/modifiers/intern/MOD_cast.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_cast.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/modifiers/intern/MOD_cast.c b/source/blender/modifiers/intern/MOD_cast.c index 44cf240816e..76a0ed59d06 100644 --- a/source/blender/modifiers/intern/MOD_cast.c +++ b/source/blender/modifiers/intern/MOD_cast.c @@ -130,7 +130,7 @@ static void sphere_do( Object *ctrl_ob = NULL; int i, defgrp_index; - int has_radius = 0; + bool has_radius = false; short flag, type; float len = 0.0f; float fac = cmd->fac; @@ -250,7 +250,7 @@ static void cuboid_do( Object *ctrl_ob = NULL; int i, defgrp_index; - int has_radius = 0; + bool has_radius = false; short flag; float fac = cmd->fac; float facm = 1.0f - fac; |