[Bf-extensions-cvs] [1e371d6d] master: Fix T60826: shade pie menu missing items.
Brecht Van Lommel
noreply at git.blender.org
Thu Jan 24 18:50:49 CET 2019
Commit: 1e371d6d45c739b19527a61c56cd6f2280dd4a94
Author: Brecht Van Lommel
Date: Thu Jan 24 18:49:43 2019 +0100
Branches: master
https://developer.blender.org/rBA1e371d6d45c739b19527a61c56cd6f2280dd4a94
Fix T60826: shade pie menu missing items.
===================================================================
M pie_menus_official/pie_shade_of.py
===================================================================
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'):
More information about the Bf-extensions-cvs
mailing list