[Bf-blender-cvs] [2ee94c954d6] master: Fix LayerTypeInfo for CD_PROP_COL

Philipp Oeser noreply at git.blender.org
Fri May 29 20:13:03 CEST 2020


Commit: 2ee94c954d6700a45fde320f330964bcf1888545
Author: Philipp Oeser
Date:   Fri May 29 17:57:58 2020 +0200
Branches: master
https://developer.blender.org/rB2ee94c954d6700a45fde320f330964bcf1888545

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

===================================================================

M	source/blender/blenkernel/intern/customdata.c

===================================================================

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,



More information about the Bf-blender-cvs mailing list