diff options
author | Nathan Craddock <nzcraddock@gmail.com> | 2021-01-05 23:55:32 +0300 |
---|---|---|
committer | Nathan Craddock <nzcraddock@gmail.com> | 2021-02-16 04:25:06 +0300 |
commit | 23de16414ad6eeebab7d8840a6626c1fd7a6e08d (patch) | |
tree | b8beb247bab2542c6cbb8c4025ff460497d7ba89 /source/blender/makesrna/intern/rna_space.c | |
parent | c53022768b13831c38d2b687f99b7f9cbb919892 (diff) |
UI: Clarify descriptions in properties popover
Updates the descriptions and labels for outliner sync in the properties
editor popover to be more clear.
Differential Revision: https://developer.blender.org/D10010
Diffstat (limited to 'source/blender/makesrna/intern/rna_space.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_space.c | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c index c56ddeb9053..9578c5d8228 100644 --- a/source/blender/makesrna/intern/rna_space.c +++ b/source/blender/makesrna/intern/rna_space.c @@ -4805,13 +4805,21 @@ static void rna_def_space_properties(BlenderRNA *brna) PropertyRNA *prop; static const EnumPropertyItem tab_sync_items[] = { - {PROPERTIES_SYNC_ON, "ON", 0, "On", "Always sync from outliner editors to this editor"}, - {PROPERTIES_SYNC_OFF, "OFF", 0, "Off", "Never sync from outliner editors to this editor"}, + {PROPERTIES_SYNC_ALWAYS, + "ALWAYS", + 0, + "Always", + "Always change tabs when clicking an icon in an outliner"}, + {PROPERTIES_SYNC_NEVER, + "NEVER", + 0, + "Never", + "Never change tabs when clicking an icon in an outliner"}, {PROPERTIES_SYNC_AUTO, "AUTO", 0, "Auto", - "Sync when this editor shares an edge with an outliner editor"}, + "Change tabs only when this editor shares a border the outliner"}, {0, NULL, 0, NULL, NULL}, }; @@ -4870,7 +4878,9 @@ static void rna_def_space_properties(BlenderRNA *brna) prop = RNA_def_property(srna, "outliner_sync", PROP_ENUM, PROP_NONE); RNA_def_property_enum_sdna(prop, NULL, "outliner_sync"); RNA_def_property_enum_items(prop, tab_sync_items); - RNA_def_property_ui_text(prop, "Outliner Sync", "Sync tabs from outliner datablock selection"); + RNA_def_property_ui_text(prop, + "Outliner Sync", + "Change to the corresponding tab when outliner data icons are clicked"); RNA_def_property_update(prop, NC_SPACE | ND_SPACE_PROPERTIES, NULL); } |