diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2017-02-19 01:52:31 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2017-02-19 01:59:34 +0300 |
commit | 9992e6a1693a7fe7512759811d79287c18a699a9 (patch) | |
tree | 68d85aeb37a60ea92ce4a874f69a7d07c96a1682 /source/blender/modifiers | |
parent | 3f5b2e268295083d9dddb9628b7b7aed39f3350a (diff) |
Fix a few compiler warnings with macOS / clang.
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r-- | source/blender/modifiers/intern/MOD_displace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_displace.c b/source/blender/modifiers/intern/MOD_displace.c index f6acbef96e9..18f60bab490 100644 --- a/source/blender/modifiers/intern/MOD_displace.c +++ b/source/blender/modifiers/intern/MOD_displace.c @@ -325,7 +325,7 @@ static void displaceModifier_do( float (*tex_co)[3]; float weight = 1.0f; /* init value unused but some compilers may complain */ float (*vert_clnors)[3] = NULL; - float local_mat[4][4] = {0}; + float local_mat[4][4] = {{0}}; const bool use_global_direction = dmd->space == MOD_DISP_SPACE_GLOBAL; if (!dmd->texture && dmd->direction == MOD_DISP_DIR_RGB_XYZ) return; |