Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_attribute.c
| Show First 20 Lines • Show All 66 Lines • ▼ Show 20 Lines | const EnumPropertyItem rna_enum_attribute_domain_items[] = { | ||||
| // {ATTR_DOMAIN_GEOMETRY, "GEOMETRY", 0, "Geometry", "Attribute on (whole) geometry"}, | // {ATTR_DOMAIN_GEOMETRY, "GEOMETRY", 0, "Geometry", "Attribute on (whole) geometry"}, | ||||
| {ATTR_DOMAIN_POINT, "POINT", 0, "Point", "Attribute on point"}, | {ATTR_DOMAIN_POINT, "POINT", 0, "Point", "Attribute on point"}, | ||||
| {ATTR_DOMAIN_EDGE, "EDGE", 0, "Edge", "Attribute on mesh edge"}, | {ATTR_DOMAIN_EDGE, "EDGE", 0, "Edge", "Attribute on mesh edge"}, | ||||
| {ATTR_DOMAIN_FACE, "FACE", 0, "Face", "Attribute on mesh faces"}, | {ATTR_DOMAIN_FACE, "FACE", 0, "Face", "Attribute on mesh faces"}, | ||||
| {ATTR_DOMAIN_CORNER, "CORNER", 0, "Face Corner", "Attribute on mesh face corner"}, | {ATTR_DOMAIN_CORNER, "CORNER", 0, "Face Corner", "Attribute on mesh face corner"}, | ||||
| /* Not implement yet */ | /* Not implement yet */ | ||||
| // {ATTR_DOMAIN_GRIDS, "GRIDS", 0, "Grids", "Attribute on mesh multires grids"}, | // {ATTR_DOMAIN_GRIDS, "GRIDS", 0, "Grids", "Attribute on mesh multires grids"}, | ||||
| {ATTR_DOMAIN_CURVE, "CURVE", 0, "Spline", "Attribute on spline"}, | {ATTR_DOMAIN_CURVE, "CURVE", 0, "Spline", "Attribute on spline"}, | ||||
| {ATTR_DOMAIN_INSTANCE, "INSTANCE", 0, "Instance", "Attribute on instance"}, | |||||
| {0, NULL, 0, NULL, NULL}, | {0, NULL, 0, NULL, NULL}, | ||||
| }; | }; | ||||
| const EnumPropertyItem rna_enum_attribute_domain_without_corner_items[] = { | const EnumPropertyItem rna_enum_attribute_domain_without_corner_items[] = { | ||||
| {ATTR_DOMAIN_POINT, "POINT", 0, "Point", "Attribute on point"}, | {ATTR_DOMAIN_POINT, "POINT", 0, "Point", "Attribute on point"}, | ||||
| {ATTR_DOMAIN_EDGE, "EDGE", 0, "Edge", "Attribute on mesh edge"}, | {ATTR_DOMAIN_EDGE, "EDGE", 0, "Edge", "Attribute on mesh edge"}, | ||||
| {ATTR_DOMAIN_FACE, "FACE", 0, "Face", "Attribute on mesh faces"}, | {ATTR_DOMAIN_FACE, "FACE", 0, "Face", "Attribute on mesh faces"}, | ||||
| {ATTR_DOMAIN_CURVE, "CURVE", 0, "Spline", "Attribute on spline"}, | {ATTR_DOMAIN_CURVE, "CURVE", 0, "Spline", "Attribute on spline"}, | ||||
| {ATTR_DOMAIN_INSTANCE, "INSTANCE", 0, "Instance", "Attribute on instance"}, | |||||
| {0, NULL, 0, NULL, NULL}, | {0, NULL, 0, NULL, NULL}, | ||||
| }; | }; | ||||
| const EnumPropertyItem rna_enum_attribute_domain_with_auto_items[] = { | const EnumPropertyItem rna_enum_attribute_domain_with_auto_items[] = { | ||||
| {ATTR_DOMAIN_AUTO, "AUTO", 0, "Auto", ""}, | {ATTR_DOMAIN_AUTO, "AUTO", 0, "Auto", ""}, | ||||
| {ATTR_DOMAIN_POINT, "POINT", 0, "Point", "Attribute on point"}, | {ATTR_DOMAIN_POINT, "POINT", 0, "Point", "Attribute on point"}, | ||||
| {ATTR_DOMAIN_EDGE, "EDGE", 0, "Edge", "Attribute on mesh edge"}, | {ATTR_DOMAIN_EDGE, "EDGE", 0, "Edge", "Attribute on mesh edge"}, | ||||
| {ATTR_DOMAIN_FACE, "FACE", 0, "Face", "Attribute on mesh faces"}, | {ATTR_DOMAIN_FACE, "FACE", 0, "Face", "Attribute on mesh faces"}, | ||||
| {ATTR_DOMAIN_CORNER, "CORNER", 0, "Face Corner", "Attribute on mesh face corner"}, | {ATTR_DOMAIN_CORNER, "CORNER", 0, "Face Corner", "Attribute on mesh face corner"}, | ||||
| {ATTR_DOMAIN_CURVE, "CURVE", 0, "Spline", "Attribute on spline"}, | {ATTR_DOMAIN_CURVE, "CURVE", 0, "Spline", "Attribute on spline"}, | ||||
| {ATTR_DOMAIN_INSTANCE, "INSTANCE", 0, "Instance", "Attribute on instance"}, | |||||
| {0, NULL, 0, NULL, NULL}, | {0, NULL, 0, NULL, NULL}, | ||||
| }; | }; | ||||
| #ifdef RNA_RUNTIME | #ifdef RNA_RUNTIME | ||||
| # include "BLI_math.h" | # include "BLI_math.h" | ||||
| # include "DEG_depsgraph.h" | # include "DEG_depsgraph.h" | ||||
| ▲ Show 20 Lines • Show All 702 Lines • Show Last 20 Lines | |||||