Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/customdata.c
| Show First 20 Lines • Show All 1,793 Lines • ▼ Show 20 Lines | static const LayerTypeInfo LAYERTYPEINFO[CD_NUMTYPES] = { | ||||
| layerMultiply_propcol, | layerMultiply_propcol, | ||||
| layerInitMinMax_propcol, | layerInitMinMax_propcol, | ||||
| layerAdd_propcol, | layerAdd_propcol, | ||||
| layerDoMinMax_propcol, | layerDoMinMax_propcol, | ||||
| layerCopyValue_propcol, | layerCopyValue_propcol, | ||||
| NULL, | NULL, | ||||
| NULL, | NULL, | ||||
| NULL, | NULL, | ||||
| layerMaxNum_propcol}}; | layerMaxNum_propcol}, | ||||
| /* 48: CD_PROP_FLOAT3 */ | |||||
| {sizeof(float[3]), "vec3f", 1, N_("Float3"), NULL, NULL, NULL, NULL, NULL}, | |||||
JacquesLucke: The `N_("Float3")` name should not be used. I just have to provide a default name to tell the… | |||||
| /* 49: CD_PROP_FLOAT2 */ | |||||
| {sizeof(float[2]), "vec2f", 1, N_("Float2"), NULL, NULL, NULL, NULL, NULL}, | |||||
| }; | |||||
| static const char *LAYERTYPENAMES[CD_NUMTYPES] = { | static const char *LAYERTYPENAMES[CD_NUMTYPES] = { | ||||
| /* 0-4 */ "CDMVert", | /* 0-4 */ "CDMVert", | ||||
| "CDMSticky", | "CDMSticky", | ||||
| "CDMDeformVert", | "CDMDeformVert", | ||||
| "CDMEdge", | "CDMEdge", | ||||
| "CDMFace", | "CDMFace", | ||||
| /* 5-9 */ "CDMTFace", | /* 5-9 */ "CDMTFace", | ||||
| ▲ Show 20 Lines • Show All 3,191 Lines • Show Last 20 Lines | |||||
The N_("Float3") name should not be used. I just have to provide a default name to tell the system that multiple layers of this type can exist.