Fix T60826: shade pie menu missing items.

This commit is contained in:
Brecht Van Lommel 2019-01-24 18:49:43 +01:00
parent af346be92b
commit 1e371d6d45
Notes: blender-bot 2023-02-14 19:21:05 +01:00
Referenced by issue #60826, UI Pie Menu Official addon - missing items
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ class VIEW3D_PIE_shade_of(Menu):
layout = self.layout
pie = layout.menu_pie()
pie.prop(context.space_data, "viewport_shade", expand=True)
pie.prop(context.space_data.shading, "type", expand=True)
if context.active_object:
if(context.mode == 'EDIT_MESH'):