Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_space.c
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
| Show First 20 Lines • Show All 7,137 Lines • ▼ Show 20 Lines | static void rna_def_space_node_overlay(BlenderRNA *brna) | ||||
| RNA_def_property_ui_text(prop, "Show Timing", "Display each node's last execution time"); | RNA_def_property_ui_text(prop, "Show Timing", "Display each node's last execution time"); | ||||
| RNA_def_property_update(prop, NC_SPACE | ND_SPACE_NODE, NULL); | RNA_def_property_update(prop, NC_SPACE | ND_SPACE_NODE, NULL); | ||||
| prop = RNA_def_property(srna, "show_context_path", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "show_context_path", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "overlay.flag", SN_OVERLAY_SHOW_PATH); | RNA_def_property_boolean_sdna(prop, NULL, "overlay.flag", SN_OVERLAY_SHOW_PATH); | ||||
| RNA_def_property_boolean_default(prop, true); | RNA_def_property_boolean_default(prop, true); | ||||
| RNA_def_property_ui_text(prop, "Show Tree Path", "Display breadcrumbs for the editor's context"); | RNA_def_property_ui_text(prop, "Show Tree Path", "Display breadcrumbs for the editor's context"); | ||||
| RNA_def_property_update(prop, NC_SPACE | ND_SPACE_NODE, NULL); | RNA_def_property_update(prop, NC_SPACE | ND_SPACE_NODE, NULL); | ||||
| prop = RNA_def_property(srna, "show_named_attributes", PROP_BOOLEAN, PROP_NONE); | |||||
| RNA_def_property_boolean_sdna(prop, NULL, "overlay.flag", SN_OVERLAY_SHOW_NAMED_ATTRIBUTES); | |||||
| RNA_def_property_boolean_default(prop, true); | |||||
| RNA_def_property_ui_text( | |||||
| prop, "Show Named Attributes", "Show when nodes are using named attributes"); | |||||
| RNA_def_property_update(prop, NC_SPACE | ND_SPACE_NODE, NULL); | |||||
| } | } | ||||
| static void rna_def_space_node(BlenderRNA *brna) | static void rna_def_space_node(BlenderRNA *brna) | ||||
| { | { | ||||
| StructRNA *srna; | StructRNA *srna; | ||||
| PropertyRNA *prop; | PropertyRNA *prop; | ||||
| static const EnumPropertyItem texture_id_type_items[] = { | static const EnumPropertyItem texture_id_type_items[] = { | ||||
| ▲ Show 20 Lines • Show All 831 Lines • Show Last 20 Lines | |||||