Fix T60826: shade pie menu missing items.
This commit is contained in:
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
|
@ -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'):
|
||||
|
|
Loading…
Reference in New Issue