Post #3124: Hi @Alphyn,

πŸ“‹ Metadata

  • Author: roaoao
  • Date: 2020-04-02 17:31:05
  • Type: answer
  • Quality Score: 8/10
  • Reply to: post_03121

🏷️ Tags

macro hotkeys intermediate solved

  • Macro Editor
  • Python Scripting

πŸ’¬ Content

Hi @Alphyn,
Try to use EXEC_DEFAULT mode for the second slot:

bpy.ops.paint.vertex_color_set('EXEC_DEFAULT', True)

In this case Blender won’t check the context for the tool.


πŸ”— View on Blender Artists