diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-01-07 03:41:45 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-01-07 04:08:55 +0300 |
commit | 29d2c71117809fea3c9d11a872e422b85847d93b (patch) | |
tree | a30d561e7d95d5c5e307c00d7de98372a8ef5406 /source/blender/modifiers/intern/MOD_array.c | |
parent | 848c00f7e70950fa012627f84c89b32bb9a4deaa (diff) |
Fix for bool flag use
Diffstat (limited to 'source/blender/modifiers/intern/MOD_array.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_array.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_array.c b/source/blender/modifiers/intern/MOD_array.c index 1066f859f7e..b6d75afaf23 100644 --- a/source/blender/modifiers/intern/MOD_array.c +++ b/source/blender/modifiers/intern/MOD_array.c @@ -404,7 +404,7 @@ static DerivedMesh *arrayModifier_doArray( int *full_doubles_map = NULL; int tot_doubles; - const bool use_merge = amd->flags & MOD_ARR_MERGE; + const bool use_merge = (amd->flags & MOD_ARR_MERGE) != 0; const bool use_recalc_normals = (dm->dirty & DM_DIRTY_NORMALS) || use_merge; const bool use_offset_ob = ((amd->offset_type & MOD_ARR_OFF_OBJ) && amd->offset_ob); /* allow pole vertices to be used by many faces */ |