Post #712: : post_00714
🏷️ Tags
popup-dialog pie-menu poll-method beginner unsolved
⚙️ Related PME Features
- Popup Dialog Editor
- Pie Menu Editor
- Poll Method
💬 Content
TeaCrab:
The “Poll Method” is a great addition to the addon, but I don’t seem to be able to get it to work at all in the popup dialog.
I set the popup to pie mode, and have the poll of this:
return C.active_object and C.active_object.type == ‘MESH’Which if the active_object I selected is not of type:‘MESH’, the whole popup dialog shouldn’t be displayed.
But it does display regardless of what I actually select.
Maybe I interpreted this wrong, please help.
Do you want to open the popup by a hotkey or you want to show it in a pie menu?