diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2019-12-04 16:13:21 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2019-12-04 16:17:08 +0300 |
commit | 98ff6cfa575bbe9680e5a0abf176a9d748ecc2b8 (patch) | |
tree | 28a74160f60a2bf8972783744334a4511ab92e82 /release/scripts/startup/bl_ui/space_topbar.py | |
parent | 541d0fdba61a9c99612f7532207d5ce704f10b43 (diff) |
GPencil: Add Opacity y Onion switch to Dopesheet
Add new icons and panels Grease Pencil Dopesheet to manage layers without having the properties panel visible.
Also, the icons are in the same order in Dopesheet, Layers and Material list to keep consistency.
As the number of columns for icons is limited to 3 and we also need use a factor, I have impleted the change using slider area. Also, the slider option is enabled by default for 2D Template.
See T72026 for more info.
Reviewed By: mendio, pepeland, billreynish
Differential Revision: https://developer.blender.org/D6328
Diffstat (limited to 'release/scripts/startup/bl_ui/space_topbar.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_topbar.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_topbar.py b/release/scripts/startup/bl_ui/space_topbar.py index fef0e095099..dcfeb6a210f 100644 --- a/release/scripts/startup/bl_ui/space_topbar.py +++ b/release/scripts/startup/bl_ui/space_topbar.py @@ -146,8 +146,8 @@ class TOPBAR_PT_gpencil_layers(Panel): col.separator() sub = col.column(align=True) - sub.operator("gpencil.layer_isolate", icon='LOCKED', text="").affect_visibility = False sub.operator("gpencil.layer_isolate", icon='HIDE_OFF', text="").affect_visibility = True + sub.operator("gpencil.layer_isolate", icon='LOCKED', text="").affect_visibility = False class TOPBAR_MT_editor_menus(Menu): |