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 3,048 Lines • ▼ Show 20 Lines | static void rna_def_space_outliner(BlenderRNA *brna) | ||||
| }; | }; | ||||
| static const EnumPropertyItem filter_state_items[] = { | static const EnumPropertyItem filter_state_items[] = { | ||||
| {SO_FILTER_OB_ALL, "ALL", 0, "All", "Show all objects in the view layer"}, | {SO_FILTER_OB_ALL, "ALL", 0, "All", "Show all objects in the view layer"}, | ||||
| {SO_FILTER_OB_VISIBLE, "VISIBLE", 0, "Visible", "Show visible objects"}, | {SO_FILTER_OB_VISIBLE, "VISIBLE", 0, "Visible", "Show visible objects"}, | ||||
| {SO_FILTER_OB_HIDDEN, "HIDDEN", 0, "Hidden", "Show hidden objects"}, | {SO_FILTER_OB_HIDDEN, "HIDDEN", 0, "Hidden", "Show hidden objects"}, | ||||
| {SO_FILTER_OB_SELECTED, "SELECTED", 0, "Selected", "Show selected objects"}, | {SO_FILTER_OB_SELECTED, "SELECTED", 0, "Selected", "Show selected objects"}, | ||||
| {SO_FILTER_OB_ACTIVE, "ACTIVE", 0, "Active", "Show only the active object"}, | {SO_FILTER_OB_ACTIVE, "ACTIVE", 0, "Active", "Show only the active object"}, | ||||
| {SO_FILTER_OB_SELECTABLE, "SELECTABLE", 0, "Selectable", "Show only selectable objects"}, | |||||
natecraddock: I would leave `SELECTED` in its original spot here | |||||
| {0, NULL, 0, NULL, NULL}, | {0, NULL, 0, NULL, NULL}, | ||||
| }; | }; | ||||
| srna = RNA_def_struct(brna, "SpaceOutliner", "Space"); | srna = RNA_def_struct(brna, "SpaceOutliner", "Space"); | ||||
| RNA_def_struct_sdna(srna, "SpaceOutliner"); | RNA_def_struct_sdna(srna, "SpaceOutliner"); | ||||
| RNA_def_struct_ui_text(srna, "Space Outliner", "Outliner space data"); | RNA_def_struct_ui_text(srna, "Space Outliner", "Outliner space data"); | ||||
| prop = RNA_def_property(srna, "display_mode", PROP_ENUM, PROP_NONE); | prop = RNA_def_property(srna, "display_mode", PROP_ENUM, PROP_NONE); | ||||
| ▲ Show 20 Lines • Show All 3,713 Lines • Show Last 20 Lines | |||||
I would leave SELECTED in its original spot here