Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_nodetree.c
| Show First 20 Lines • Show All 992 Lines • ▼ Show 20 Lines | |||||
| }; | }; | ||||
| RNA_def_struct_sdna_from(srna, "NodeGeometryObjectInfo", "storage"); | RNA_def_struct_sdna_from(srna, "NodeGeometryObjectInfo", "storage"); | ||||
| prop = RNA_def_property(srna, "transform_space", PROP_ENUM, PROP_NONE); | prop = RNA_def_property(srna, "transform_space", PROP_ENUM, PROP_NONE); | ||||
| RNA_def_property_enum_items(prop, rna_node_geometry_object_info_transform_space_items); | RNA_def_property_enum_items(prop, rna_node_geometry_object_info_transform_space_items); | ||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text( | ||||
| prop, "Transform Space", "The transformation of the vector and geometry outputs"); | prop, "Transform Space", "The transformation of the vector and geometry outputs"); | ||||
| RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_update"); | RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_update_relations"); | ||||
| } | } | ||||
| static void def_geo_legacy_points_to_volume(StructRNA *srna) | static void def_geo_legacy_points_to_volume(StructRNA *srna) | ||||
| { | { | ||||
| PropertyRNA *prop; | PropertyRNA *prop; | ||||
| static EnumPropertyItem resolution_mode_items[] = { | static EnumPropertyItem resolution_mode_items[] = { | ||||
| {GEO_NODE_POINTS_TO_VOLUME_RESOLUTION_MODE_AMOUNT, | {GEO_NODE_POINTS_TO_VOLUME_RESOLUTION_MODE_AMOUNT, | ||||
| ▲ Show 20 Lines • Show All 67 Lines • ▼ Show 20 Lines | |||||
| {0, NULL, 0, NULL, NULL}, | {0, NULL, 0, NULL, NULL}, | ||||
| }; | }; | ||||
| RNA_def_struct_sdna_from(srna, "NodeGeometryCollectionInfo", "storage"); | RNA_def_struct_sdna_from(srna, "NodeGeometryCollectionInfo", "storage"); | ||||
| prop = RNA_def_property(srna, "transform_space", PROP_ENUM, PROP_NONE); | prop = RNA_def_property(srna, "transform_space", PROP_ENUM, PROP_NONE); | ||||
| RNA_def_property_enum_items(prop, rna_node_geometry_collection_info_transform_space_items); | RNA_def_property_enum_items(prop, rna_node_geometry_collection_info_transform_space_items); | ||||
| RNA_def_property_ui_text(prop, "Transform Space", "The transformation of the geometry output"); | RNA_def_property_ui_text(prop, "Transform Space", "The transformation of the geometry output"); | ||||
| RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_update"); | RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_update_relations"); | ||||
| } | } | ||||
| static void def_geo_legacy_attribute_proximity(StructRNA *srna) | static void def_geo_legacy_attribute_proximity(StructRNA *srna) | ||||
| { | { | ||||
| static const EnumPropertyItem target_geometry_element[] = { | static const EnumPropertyItem target_geometry_element[] = { | ||||
| {GEO_NODE_PROXIMITY_TARGET_POINTS, | {GEO_NODE_PROXIMITY_TARGET_POINTS, | ||||
| "POINTS", | "POINTS", | ||||
| ICON_NONE, | ICON_NONE, | ||||
| ▲ Show 20 Lines • Show All 992 Lines • Show Last 20 Lines | |||||