Cleanup: Add comment about unsed custom data type
Since f59767ff97
, these hair layer types are unused. Since DNA
compatibility was broken with any files that would contain them, the
indices can be reused to avoid growing custom data's typemap.
This commit is contained in:
parent
c832f4f7d1
commit
3e0ffe5a39
|
@ -1793,10 +1793,10 @@ static const LayerTypeInfo LAYERTYPEINFO[CD_NUMTYPES] = {
|
|||
{sizeof(float[3]), "vec3f", 1, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr},
|
||||
/* 44: CD_RADIUS */
|
||||
{sizeof(float), "MFloatProperty", 1, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr},
|
||||
/* 45: CD_HAIRCURVE */ /* DEPRECATED */
|
||||
{-1, "HairCurve", 1, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr},
|
||||
/* 46: CD_HAIRMAPPING */ /* DEPRECATED */
|
||||
{-1, "HairMapping", 1, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr},
|
||||
/* 45: CD_HAIRCURVE */ /* UNUSED */
|
||||
{-1, "", 1, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr},
|
||||
/* 46: CD_HAIRMAPPING */ /* UNUSED */
|
||||
{-1, "", 1, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr},
|
||||
/* 47: CD_PROP_COLOR */
|
||||
{sizeof(MPropCol),
|
||||
"MPropCol",
|
||||
|
|
|
@ -160,10 +160,10 @@ typedef enum CustomDataType {
|
|||
CD_CUSTOMLOOPNORMAL = 41,
|
||||
CD_SCULPT_FACE_SETS = 42,
|
||||
|
||||
/* CD_LOCATION = 43, */ /* UNUSED */
|
||||
/* CD_RADIUS = 44, */ /* UNUSED */
|
||||
CD_HAIRCURVE = 45,
|
||||
CD_HAIRMAPPING = 46,
|
||||
/* CD_LOCATION = 43, */ /* UNUSED */
|
||||
/* CD_RADIUS = 44, */ /* UNUSED */
|
||||
/* CD_HAIRCURVE = 45, */ /* UNUSED, can be reused. */
|
||||
/* CD_HAIRMAPPING = 46, */ /* UNUSED, can be reused. */
|
||||
|
||||
CD_PROP_COLOR = 47,
|
||||
CD_PROP_FLOAT3 = 48,
|
||||
|
|
Loading…
Reference in New Issue