diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-05-28 07:33:37 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-05-28 07:34:00 +0300 |
commit | cdcbcca25e3f5d4fddd984fa284ea248dc3869a4 (patch) | |
tree | 6a8e30aa1a69616f5bf899a1f7ca9bcff29725bd /source/blender/blenkernel/intern/customdata.c | |
parent | d7282537f0165b957efc6b0dc16208906f0202a8 (diff) |
Cleanup: missing braces warning
Diffstat (limited to 'source/blender/blenkernel/intern/customdata.c')
-rw-r--r-- | source/blender/blenkernel/intern/customdata.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/customdata.c b/source/blender/blenkernel/intern/customdata.c index 24e60803b29..9a56e817f0e 100644 --- a/source/blender/blenkernel/intern/customdata.c +++ b/source/blender/blenkernel/intern/customdata.c @@ -1432,7 +1432,7 @@ static void layerInitMinMax_propcol(void *vmin, void *vmax) static void layerDefault_propcol(void *data, int count) { /* Default to white, full alpha. */ - MPropCol default_propcol = {1.0f, 1.0f, 1.0f, 1.0f}; + MPropCol default_propcol = {{1.0f, 1.0f, 1.0f, 1.0f}}; MPropCol *pcol = (MPropCol *)data; int i; for (i = 0; i < count; i++) { |