Post #714: I don’t intend to use the popup with a hotkey. I want it to be visible in the pi
📋 Metadata
- Author: TeaCrab
- Date: 2017-06-10 05:55:13
- Type:
bug_report - Quality Score: 8/10
- Reply to: post_00712
- Replies (2): post_00715, post_00717
🏷️ Tags
pie-menu context-filtering intermediate unsolved
⚙️ Related PME Features
- Pie Menu Editor
- Poll Method
- Context-based visibility
💬 Content
I don’t intend to use the popup with a hotkey. I want it to be visible in the pie menu when the context is correct, and hidden when the context is incorrect.
This mainly affect some custom command for different context.
When active object is a camera.

When active object is not a camera.
As you see, the custom command buttons shows up even when the context object isn’t a camera. And it’s displayed in a weird position.
I was expecting the Poll Method to be able to resolve this by not displaying anything at all if context is incorrect.
Or better yet, it would be great to have a Panel Switcher, which given different conditions of the context, assigns different panels to be displayed.
Shot_557.png711×314 32.7 KB