diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2019-05-14 23:45:47 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2019-05-15 00:10:25 +0300 |
commit | 777a546c0c789648f0f75315333d99e58050cd09 (patch) | |
tree | a0cd7fd54d8d894f9c1ef9368d49ed167087b539 /release | |
parent | 903041e1c0eaf1797573f193be6d5561a907278e (diff) |
Outliner Restriction: Naming sanitization and icon
No major API change here, only in the outliner restriction column
variables (e.g., show_restrict_column_selectable > show_restrict_column_select).
* Get rid of _INSTANCE (introduced on b1af68200159).
* Differentiate (everywhere but the API) between HIDE (temporary) and VIEWPORT (global).
* Use the expected icon for restrict viewport (same as objects and modifiers).
* selectable > select
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_outliner.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/release/scripts/startup/bl_ui/space_outliner.py b/release/scripts/startup/bl_ui/space_outliner.py index 42f3b32a249..dac275ad21f 100644 --- a/release/scripts/startup/bl_ui/space_outliner.py +++ b/release/scripts/startup/bl_ui/space_outliner.py @@ -307,9 +307,9 @@ class OUTLINER_PT_filter(Panel): layout.label(text="Restriction Toggles:") row = layout.row(align=True) row.prop(space, "show_restrict_column_enable", text="") - row.prop(space, "show_restrict_column_selectable", text="") + row.prop(space, "show_restrict_column_select", text="") + row.prop(space, "show_restrict_column_hide", text="") row.prop(space, "show_restrict_column_viewport", text="") - row.prop(space, "show_restrict_column_instance", text="") row.prop(space, "show_restrict_column_render", text="") row.prop(space, "show_restrict_column_holdout", text="") row.prop(space, "show_restrict_column_indirect_only", text="") @@ -317,9 +317,9 @@ class OUTLINER_PT_filter(Panel): elif display_mode == 'SCENES': layout.label(text="Restriction Toggles:") row = layout.row(align=True) - row.prop(space, "show_restrict_column_selectable", text="") + row.prop(space, "show_restrict_column_select", text="") + row.prop(space, "show_restrict_column_hide", text="") row.prop(space, "show_restrict_column_viewport", text="") - row.prop(space, "show_restrict_column_instance", text="") row.prop(space, "show_restrict_column_render", text="") layout.separator() |