Fix workbench shading pie menu

Expand the enum since it's dynamic, depending on the render engine.
This commit is contained in:
2019-01-08 17:17:52 +11:00
parent a0d456daf8
commit 859a4dd51b

View File

@@ -4058,10 +4058,7 @@ class VIEW3D_MT_shading_pie(Menu):
view = context.space_data
pie.prop_enum(view.shading, "type", value='WIREFRAME')
pie.prop_enum(view.shading, "type", value='SOLID')
pie.prop_enum(view.shading, "type", value='MATERIAL')
pie.prop_enum(view.shading, "type", value='RENDERED')
pie.prop(view.shading, "type", expand=True)
class VIEW3D_MT_shading_ex_pie(Menu):