Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_nodetree.c
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
| Show First 20 Lines • Show All 9,023 Lines • ▼ Show 20 Lines | static EnumPropertyItem resolution_mode_items[] = { | ||||
| {0, NULL, 0, NULL, NULL}, | {0, NULL, 0, NULL, NULL}, | ||||
| }; | }; | ||||
| RNA_def_struct_sdna_from(srna, "NodeGeometryVolumeToMesh", "storage"); | RNA_def_struct_sdna_from(srna, "NodeGeometryVolumeToMesh", "storage"); | ||||
| prop = RNA_def_property(srna, "resolution_mode", PROP_ENUM, PROP_NONE); | prop = RNA_def_property(srna, "resolution_mode", PROP_ENUM, PROP_NONE); | ||||
| RNA_def_property_enum_items(prop, resolution_mode_items); | RNA_def_property_enum_items(prop, resolution_mode_items); | ||||
| RNA_def_property_ui_text(prop, "Resolution Mode", "How the voxel size is specified"); | RNA_def_property_ui_text(prop, "Resolution Mode", "How the voxel size is specified"); | ||||
| RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_socket_update"); | |||||
| } | } | ||||
| static void def_geo_attribute_combine_xyz(StructRNA *srna) | static void def_geo_attribute_combine_xyz(StructRNA *srna) | ||||
| { | { | ||||
| PropertyRNA *prop; | PropertyRNA *prop; | ||||
| RNA_def_struct_sdna_from(srna, "NodeAttributeCombineXYZ", "storage"); | RNA_def_struct_sdna_from(srna, "NodeAttributeCombineXYZ", "storage"); | ||||
| ▲ Show 20 Lines • Show All 1,948 Lines • Show Last 20 Lines | |||||