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,393 Lines • ▼ Show 20 Lines | static const EnumPropertyItem display_mode_items[] = { | ||||
| ICON_FILE_BLEND, | ICON_FILE_BLEND, | ||||
| "Blender File", | "Blender File", | ||||
| "Display data of current file and linked libraries"}, | "Display data of current file and linked libraries"}, | ||||
| {SO_DATA_API, | {SO_DATA_API, | ||||
| "DATA_API", | "DATA_API", | ||||
| ICON_RNA, | ICON_RNA, | ||||
| "Data API", | "Data API", | ||||
| "Display low level Blender data and its properties"}, | "Display low level Blender data and its properties"}, | ||||
| {SO_OVERRIDES_LIBRARY, | |||||
| "LIBRARY_OVERRIDES", | |||||
| ICON_LIBRARY_DATA_OVERRIDE, | |||||
| "Library Overrides", | |||||
| "Display data-blocks with library overrides and list their overridden properties"}, | |||||
Severin: Description could be improved. "//Display data-blocks with library overrides and list their… | |||||
| {SO_ID_ORPHANS, | {SO_ID_ORPHANS, | ||||
| "ORPHAN_DATA", | "ORPHAN_DATA", | ||||
| ICON_ORPHAN_DATA, | ICON_ORPHAN_DATA, | ||||
| "Orphan Data", | "Orphan Data", | ||||
| "Display data-blocks which are unused and/or will be lost when the file is reloaded"}, | "Display data-blocks which are unused and/or will be lost when the file is reloaded"}, | ||||
| {0, NULL, 0, NULL, NULL}, | {0, NULL, 0, NULL, NULL}, | ||||
| }; | }; | ||||
| ▲ Show 20 Lines • Show All 173 Lines • ▼ Show 20 Lines | static void rna_def_space_outliner(BlenderRNA *brna) | ||||
| RNA_def_property_translation_context(prop, BLT_I18NCONTEXT_ID_ID); | RNA_def_property_translation_context(prop, BLT_I18NCONTEXT_ID_ID); | ||||
| prop = RNA_def_property(srna, "use_filter_lib_override", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "use_filter_lib_override", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_negative_sdna(prop, NULL, "filter", SO_FILTER_NO_LIB_OVERRIDE); | RNA_def_property_boolean_negative_sdna(prop, NULL, "filter", SO_FILTER_NO_LIB_OVERRIDE); | ||||
| RNA_def_property_ui_text(prop, | RNA_def_property_ui_text(prop, | ||||
| "Show Library Overrides", | "Show Library Overrides", | ||||
| "For libraries with overrides created, show the overridden values"); | "For libraries with overrides created, show the overridden values"); | ||||
| 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_lib_override_system", PROP_BOOLEAN, PROP_NONE); | |||||
| RNA_def_property_boolean_sdna(prop, NULL, "filter", SO_FILTER_SHOW_SYSTEM_OVERRIDES); | |||||
| RNA_def_property_ui_text( | |||||
| prop, | |||||
| "Show System Overrides", | |||||
| "For libraries with overrides created, show the overridden values that are " | |||||
Done Inline ActionsInstead of "by Blender" I'd say "automatically". So my proposal: Severin: Instead of "//by Blender//" I'd say "//automatically//".
Maybe we could also mention an example… | |||||
| "defined/controlled automatically (e.g. to make users of an overridden data-block point to " | |||||
| "the override data, not the original linked data)"); | |||||
| RNA_def_property_update(prop, NC_SPACE | ND_SPACE_OUTLINER, NULL); | |||||
| } | } | ||||
| static void rna_def_space_view3d_shading(BlenderRNA *brna) | static void rna_def_space_view3d_shading(BlenderRNA *brna) | ||||
| { | { | ||||
| StructRNA *srna; | StructRNA *srna; | ||||
| PropertyRNA *prop; | PropertyRNA *prop; | ||||
| static const EnumPropertyItem background_type_items[] = { | static const EnumPropertyItem background_type_items[] = { | ||||
| ▲ Show 20 Lines • Show All 3,817 Lines • Show Last 20 Lines | |||||
Description could be improved. "Display data-blocks with library overrides and list their overridden values"?