for example auto smooth set angle value fails when pie is run as an add-on but it works when run from the text editor
this makes no sense to me or I cannot figure out what is wrong. here is a link to the code of the complete pie script.
https://gist.github.com/anonymous/0abba8f7de314d38659b#file-pie-menu
AttributeError: '_RestrictContext' object has no attribute 'scene'
? If yes, see: wiki.blender.org/index.php/Extensions:2.6/Py/API_Changes Blender now restricts access tobpy.context
andbpy.data
whileregister() / unregister()
. $\endgroup$UV_scale_X
class multiple times - make each unique. $\endgroup$some_pie_menu.py
. it seems to work here, and does set the angle. In the event you get no warnings / errors you should start to look more carefully at other potential bugs and fixing those first. $\endgroup$