Post #4470: Hi,

📋 Metadata

  • Author: tmcthree
  • Date: 2022-07-27 16:42:00
  • Type: question
  • Quality Score: 7/10
  • Replies (1): post_04471

🏷️ Tags

pie-menu hotkeys intermediate unsolved

  • Pie Menu Editor
  • Call External Script

💬 Content

Hi,
Not sure what I’m doing wrong.
I have a simple script that calls a menu. If the editor is in edit mode it calls the edit select menu, if it’s in object mode it calls the object select menu. Seems to work fine when executed from the text editor.

imageimage1548×570 154 KB

Problem is, when I call it from the pie menu using the “call external script” function, when I open up the pie menu, instead of it waiting for me to select the pie segment to execute the script, it seems to execute the script immediately, displaying the select menu over the rest of the pie.

imageimage1730×558 175 KB

Has anybody else seen anything like this? Am I doing something wrong?


🔗 View on Blender Artists