Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'pie_menus_official/pie_shade_of.py')
-rw-r--r--pie_menus_official/pie_shade_of.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pie_menus_official/pie_shade_of.py b/pie_menus_official/pie_shade_of.py
index d97c8725..e637a490 100644
--- a/pie_menus_official/pie_shade_of.py
+++ b/pie_menus_official/pie_shade_of.py
@@ -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'):