Post #3940: In that case you can use the advance option poll
📋 Metadata
- Author: Motiomancer
- Date: 2021-07-13 16:45:57
- Type:
answer - Quality Score: 8/10
- Reply to: post_03938
- Replies (1): post_03941
🏷️ Tags
pie-menu configuration intermediate
⚙️ Related PME Features
- Pie Menu Editor
- Advanced poll option
- Python Scripting
💬 Content
In that case you can use the advance option poll
return C.mode== 'PAINT_TEXTURE'
Or if you only want the pie menu to trigger in the View3D space:
return C.mode== 'PAINT_TEXTURE' and C.area.type == 'VIEW_3D'
❤️ 2 likes
image828×142 12.7 KB