Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_space.c
| Show First 20 Lines • Show All 2,150 Lines • ▼ Show 20 Lines | static void rna_def_space_outliner(BlenderRNA *brna) | ||||
| RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", SO_SKIP_SORT_ALPHA); | RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", SO_SKIP_SORT_ALPHA); | ||||
| RNA_def_property_ui_text(prop, "Sort Alphabetically", ""); | RNA_def_property_ui_text(prop, "Sort Alphabetically", ""); | ||||
| RNA_def_property_update(prop, NC_SPACE | ND_SPACE_OUTLINER, NULL); | RNA_def_property_update(prop, NC_SPACE | ND_SPACE_OUTLINER, NULL); | ||||
| prop = RNA_def_property(srna, "show_restrict_columns", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "show_restrict_columns", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", SO_HIDE_RESTRICTCOLS); | RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", SO_HIDE_RESTRICTCOLS); | ||||
| RNA_def_property_ui_text(prop, "Show Restriction Columns", "Show column"); | RNA_def_property_ui_text(prop, "Show Restriction Columns", "Show column"); | ||||
| RNA_def_property_update(prop, NC_SPACE | ND_SPACE_OUTLINER, NULL); | RNA_def_property_update(prop, NC_SPACE | ND_SPACE_OUTLINER, NULL); | ||||
| prop = RNA_def_property(srna, "use_filter_object", PROP_BOOLEAN, PROP_NONE); | |||||
| RNA_def_property_boolean_negative_sdna(prop, NULL, "filter", SO_FILTER_NO_OBJECT); | |||||
| RNA_def_property_ui_text(prop, "Filter Objects", "Show objects inside collections"); | |||||
| RNA_def_property_update(prop, NC_SPACE | ND_SPACE_OUTLINER, NULL); | |||||
| } | } | ||||
| static void rna_def_space_view3d(BlenderRNA *brna) | static void rna_def_space_view3d(BlenderRNA *brna) | ||||
| { | { | ||||
| StructRNA *srna; | StructRNA *srna; | ||||
| PropertyRNA *prop; | PropertyRNA *prop; | ||||
| static const EnumPropertyItem manipulators_items[] = { | static const EnumPropertyItem manipulators_items[] = { | ||||
| ▲ Show 20 Lines • Show All 2,461 Lines • Show Last 20 Lines | |||||