Post #2909: ![](https://blenderartists.org/user_avatar/blenderartists.org/insideitall/48/527

πŸ“‹ Metadata

  • Author: roaoao
  • Date: 2019-12-02 22:56:49
  • Type: answer
  • Quality Score: 7/10
  • Reply to: post_02907

🏷️ Tags

v1-18-7 pie-menu context-menu beginner solved

  • Pie Menu Editor
  • Poll method configuration
  • Context menu creation

πŸ’¬ Content

insideitall:

I’m trying to follow along here Pie Menu Editor 1.18.7 - #251 by roaoao
for making a context menu with nothing selected and i can’t get it right.

Do i put this line in the poll method?

Yes, you can use this poll method for the menu:

return not C.selected_objects or not C.active_object

or just:

return not C.selected_objects

❀️ 3 likes


πŸ”— View on Blender Artists