Post #3498: ![](https://blenderartists.org/user_avatar/blenderartists.org/zunio/48/839738_2.

📋 Metadata

  • Author: roaoao
  • Date: 2020-08-05 21:52:56
  • Type: answer
  • Quality Score: 8/10
  • Reply to: post_03494

🏷️ Tags

macro hotkeys intermediate solved

  • Macro Operator
  • Python Scripting
  • Modal Editor

💬 Content

Zunio:

Want to sneak some functionality from Mudbox like:

  • LMB is for simple painting with default brush
  • Shift + LMB is for blur - but when its released it goes back to simple draw

Try to use a Macro Operator with these 3 slots:

bpy.context.scene.b_painter_brush = 'Brush Blur'
bpy.ops.paint.image_paint(mode='NORMAL')
bpy.ops.pme.timeout(cmd="bpy.context.scene.b_painter_brush = 'Brush Default'")

❤️ 3 likes


🔗 View on Blender Artists