Post #3815: You could try giving a more specific context to the menus
📋 Metadata
- Author: Motiomancer
- Date: 2021-03-31 14:11:52
- Type:
answer - Quality Score: 7/10
- Reply to: post_03811
- Replies (2): post_03819, post_03821
🏷️ Tags
pie-menu conflicts intermediate
⚙️ Related PME Features
- Pie Menu Editor
- Python Scripting
💬 Content
You could try giving a more specific context to the menus
instead of asking for a gpencil object
return C.active_object and C.active_object.type == 'GPENCIL'
gpencil object and in object mode
return C.active_object and C.active_object.type == 'GPENCIL' and C.active_object.mode == 'OBJECT'
gpencil object and not in object mode
return C.active_object and C.active_object.type == 'GPENCIL' and C.active_object.mode != 'OBJECT'
Other than that its about troubleshooting the menus, maybe disable all of them and start re enabling the tab ones to see which ones are in conflict
❤️ 2 likes