Post #418: Mighty Pea:

πŸ“‹ Metadata

  • Author: roaoao
  • Date: 2016-11-01 09:53:50
  • Type: answer
  • Quality Score: 7/10
  • Reply to: post_00417

🏷️ Tags

addon-management intermediate solved

  • Pie Menu Editor
  • Python Scripting

πŸ’¬ Content

Mighty Pea:

Upgrading the addon broke my context sensitive menu, and I figured out it was because the context_sensitive_pie script was now gone.

Did you press Remove button in addon’s preferences (to remove the addon) before update? Only that button can remove the script, afaik.
To update the add-on you just need to use Install From File button in user preferences and restart Blender.

Mighty Pea:

Alternatively, should I now set up context-sensitive scripts another way?

You can store your scripts outside of pie_menu_editor/scripts folder and use absolute paths in pie menus:

execute_script("absolute path to script")

Mighty Pea:

could this script be added to the next version so I don’t have to do this every time?

Oops, I thought I already did that. Will include it in the next version.


πŸ”— View on Blender Artists