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
path: root/source
diff options
context:
space:
mode:
authorPhilipp Oeser <info@graphics-engineer.com>2020-05-29 18:57:58 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2020-05-29 21:08:38 +0300
commit2ee94c954d6700a45fde320f330964bcf1888545 (patch)
tree72e6452b0d0469a59798049cc66e3b903994fc91 /source
parenta9689737b3d7429cdcd0ecbb8d0bc95ad26f6163 (diff)
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
Diffstat (limited to 'source')
-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 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,