Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-05-28 07:33:37 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-05-28 07:34:00 +0300
commitcdcbcca25e3f5d4fddd984fa284ea248dc3869a4 (patch)
tree6a8e30aa1a69616f5bf899a1f7ca9bcff29725bd /source/blender/blenkernel/intern/customdata.c
parentd7282537f0165b957efc6b0dc16208906f0202a8 (diff)
Cleanup: missing braces warning
Diffstat (limited to 'source/blender/blenkernel/intern/customdata.c')
-rw-r--r--source/blender/blenkernel/intern/customdata.c2
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++) {