Post #3815: You could try giving a more specific context to the menus

📋 Metadata

🏷️ Tags

pie-menu conflicts intermediate

  • 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


🔗 View on Blender Artists