Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_modifier.c
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
| Show First 20 Lines • Show All 6,385 Lines • ▼ Show 20 Lines | |||||
| # endif | # endif | ||||
| /* XXX When SkinModifier is enabled, | /* XXX When SkinModifier is enabled, | ||||
| * it seems to erase its own CD_MVERT_SKIN layer from final DM :( */ | * it seems to erase its own CD_MVERT_SKIN layer from final DM :( */ | ||||
| # if 0 | # if 0 | ||||
| {DT_TYPE_SKIN, "SKIN", 0, "Skin Weight", "Transfer skin weights"}, | {DT_TYPE_SKIN, "SKIN", 0, "Skin Weight", "Transfer skin weights"}, | ||||
| # endif | # endif | ||||
| {DT_TYPE_BWEIGHT_VERT, "BEVEL_WEIGHT_VERT", 0, "Bevel Weight", "Transfer bevel weights"}, | {DT_TYPE_BWEIGHT_VERT, "BEVEL_WEIGHT_VERT", 0, "Bevel Weight", "Transfer bevel weights"}, | ||||
| {DT_TYPE_MPROPCOL_VERT | DT_TYPE_MLOOPCOL_VERT, | {DT_TYPE_MPROPCOL_VERT | DT_TYPE_MLOOPCOL_VERT, | ||||
| "VCOL", | "COLOR_VERTEX", | ||||
| 0, | 0, | ||||
| "Colors", | "Colors", | ||||
| "Transfer color attributes"}, | "Transfer color attributes"}, | ||||
| {0, NULL, 0, NULL, NULL}, | {0, NULL, 0, NULL, NULL}, | ||||
| }; | }; | ||||
| static const EnumPropertyItem DT_layer_edge_items[] = { | static const EnumPropertyItem DT_layer_edge_items[] = { | ||||
| {DT_TYPE_SHARP_EDGE, "SHARP_EDGE", 0, "Sharp", "Transfer sharp mark"}, | {DT_TYPE_SHARP_EDGE, "SHARP_EDGE", 0, "Sharp", "Transfer sharp mark"}, | ||||
| {DT_TYPE_SEAM, "SEAM", 0, "UV Seam", "Transfer UV seam mark"}, | {DT_TYPE_SEAM, "SEAM", 0, "UV Seam", "Transfer UV seam mark"}, | ||||
| {DT_TYPE_CREASE, "CREASE", 0, "Crease", "Transfer subdivision crease values"}, | {DT_TYPE_CREASE, "CREASE", 0, "Crease", "Transfer subdivision crease values"}, | ||||
| {DT_TYPE_BWEIGHT_EDGE, "BEVEL_WEIGHT_EDGE", 0, "Bevel Weight", "Transfer bevel weights"}, | {DT_TYPE_BWEIGHT_EDGE, "BEVEL_WEIGHT_EDGE", 0, "Bevel Weight", "Transfer bevel weights"}, | ||||
| {DT_TYPE_FREESTYLE_EDGE, "FREESTYLE_EDGE", 0, "Freestyle", "Transfer Freestyle edge mark"}, | {DT_TYPE_FREESTYLE_EDGE, "FREESTYLE_EDGE", 0, "Freestyle", "Transfer Freestyle edge mark"}, | ||||
| {0, NULL, 0, NULL, NULL}, | {0, NULL, 0, NULL, NULL}, | ||||
| }; | }; | ||||
| static const EnumPropertyItem DT_layer_loop_items[] = { | static const EnumPropertyItem DT_layer_loop_items[] = { | ||||
| {DT_TYPE_LNOR, "CUSTOM_NORMAL", 0, "Custom Normals", "Transfer custom normals"}, | {DT_TYPE_LNOR, "CUSTOM_NORMAL", 0, "Custom Normals", "Transfer custom normals"}, | ||||
| {DT_TYPE_MPROPCOL_LOOP | DT_TYPE_MLOOPCOL_LOOP, | {DT_TYPE_MPROPCOL_LOOP | DT_TYPE_MLOOPCOL_LOOP, | ||||
| "VCOL", | "COLOR_CORNER", | ||||
| 0, | 0, | ||||
| "Colors", | "Colors", | ||||
| "Transfer color attributes"}, | "Transfer color attributes"}, | ||||
| {DT_TYPE_UV, "UV", 0, "UVs", "Transfer UV layers"}, | {DT_TYPE_UV, "UV", 0, "UVs", "Transfer UV layers"}, | ||||
| {0, NULL, 0, NULL, NULL}, | {0, NULL, 0, NULL, NULL}, | ||||
| }; | }; | ||||
| static const EnumPropertyItem DT_layer_poly_items[] = { | static const EnumPropertyItem DT_layer_poly_items[] = { | ||||
| ▲ Show 20 Lines • Show All 997 Lines • Show Last 20 Lines | |||||