From 2ee94c954d6700a45fde320f330964bcf1888545 Mon Sep 17 00:00:00 2001 From: Philipp Oeser Date: Fri, 29 May 2020 17:57:58 +0200 Subject: Fix LayerTypeInfo for CD_PROP_COL This was introduced in rBd7282537f016 and had the wrong struct name specified, leading to errors in writing/saving. Stumbled over this when testing a color layer for pointclouds. Differential Revision: https://developer.blender.org/D7882 --- source/blender/blenkernel/intern/customdata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/blenkernel/intern/customdata.c b/source/blender/blenkernel/intern/customdata.c index 9a56e817f0e..b0007c2a598 100644 --- a/source/blender/blenkernel/intern/customdata.c +++ b/source/blender/blenkernel/intern/customdata.c @@ -1782,7 +1782,7 @@ static const LayerTypeInfo LAYERTYPEINFO[CD_NUMTYPES] = { {sizeof(HairMapping), "HairMapping", 1, NULL, NULL, NULL, NULL, NULL, NULL}, /* 47: CD_PROP_COL */ {sizeof(MPropCol), - "PropCol", + "MPropCol", 1, N_("Col"), NULL, -- cgit v1.2.3