diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-09-21 18:55:04 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-09-21 18:55:25 +0300 |
commit | 18252e407f2cb6dc705e223cecf688e5eb823f42 (patch) | |
tree | 891330795af5ade42d263eca06fc35332da02870 /release/scripts/startup/bl_ui/space_view3d.py | |
parent | 8143f2720905657b661337bc5c4f4f269559fb5c (diff) |
Viewport: tweak shading pie layout and naming.
Diffstat (limited to 'release/scripts/startup/bl_ui/space_view3d.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index 068276f44c6..85191454ee0 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -3801,7 +3801,8 @@ class VIEW3D_MT_shading_pie(Menu): view = context.space_data - pie.prop(view.shading, "type", expand=True) + pie.prop_enum(view.shading, "type", value='WIREFRAME') + pie.prop_enum(view.shading, "type", value='SOLID') if context.mode == 'POSE': pie.prop(view.overlay, "show_bone_select", icon='ORTHO') @@ -3815,9 +3816,11 @@ class VIEW3D_MT_shading_pie(Menu): sub = pie.row() sub.active = False - sub.prop(view.shading, "show_xray", icon='ORTHO') + sub.prop(view.shading, "show_xray", text="Toggle X-Ray", icon='ORTHO') - pie.prop(view.overlay, "show_overlays", icon='OVERLAY') + pie.prop(view.overlay, "show_overlays", text="Toggle Overlays", icon='OVERLAY') + pie.prop_enum(view.shading, "type", value='MATERIAL') + pie.prop_enum(view.shading, "type", value='RENDERED') # ********** Panel ********** |