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,142 Lines • ▼ Show 20 Lines | static void def_geo_attribute_attribute_compare(StructRNA *srna) | ||||
| prop = RNA_def_property(srna, "operation", PROP_ENUM, PROP_NONE); | prop = RNA_def_property(srna, "operation", PROP_ENUM, PROP_NONE); | ||||
| RNA_def_property_enum_items(prop, rna_enum_node_float_compare_items); | RNA_def_property_enum_items(prop, rna_enum_node_float_compare_items); | ||||
| RNA_def_property_enum_default(prop, NODE_FLOAT_COMPARE_GREATER_THAN); | RNA_def_property_enum_default(prop, NODE_FLOAT_COMPARE_GREATER_THAN); | ||||
| RNA_def_property_ui_text(prop, "Operation", ""); | RNA_def_property_ui_text(prop, "Operation", ""); | ||||
| RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_socket_update"); | RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_socket_update"); | ||||
| prop = RNA_def_property(srna, "input_type_a", PROP_ENUM, PROP_NONE); | prop = RNA_def_property(srna, "input_type_a", PROP_ENUM, PROP_NONE); | ||||
| RNA_def_property_enum_items(prop, rna_node_geometry_attribute_input_type_items_any); | RNA_def_property_enum_items(prop, rna_node_geometry_attribute_input_type_items_no_boolean); | ||||
| RNA_def_property_ui_text(prop, "Input Type A", ""); | RNA_def_property_ui_text(prop, "Input Type A", ""); | ||||
| RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_socket_update"); | RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_socket_update"); | ||||
| prop = RNA_def_property(srna, "input_type_b", PROP_ENUM, PROP_NONE); | prop = RNA_def_property(srna, "input_type_b", PROP_ENUM, PROP_NONE); | ||||
| RNA_def_property_enum_items(prop, rna_node_geometry_attribute_input_type_items_any); | RNA_def_property_enum_items(prop, rna_node_geometry_attribute_input_type_items_no_boolean); | ||||
| RNA_def_property_ui_text(prop, "Input Type B", ""); | RNA_def_property_ui_text(prop, "Input Type B", ""); | ||||
| RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_socket_update"); | RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_socket_update"); | ||||
| } | } | ||||
| static void def_geo_point_distribute(StructRNA *srna) | static void def_geo_point_distribute(StructRNA *srna) | ||||
| { | { | ||||
| PropertyRNA *prop; | PropertyRNA *prop; | ||||
| ▲ Show 20 Lines • Show All 2,424 Lines • Show Last 20 Lines | |||||