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++) {