Post #3494: Hi roaoao!

πŸ“‹ Metadata

  • Author: Zunio
  • Date: 2020-08-04 13:12:42
  • Type: question
  • Quality Score: 7/10
  • Replies (1): post_03498

🏷️ Tags

sticky-key hotkeys configuration intermediate unsolved

  • Sticky Key Editor
  • Python Scripting

πŸ’¬ Content

Hi roaoao!

For more than year i’m trying to move with my pipeline from Maya&Mudbox to Blender. From the beginning with help of Pie Menu Editor. Great tool. I’m really appreciated for your work.

Already i’m stuck at texturing (handpainting) pipeline. 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

I assume that for Shift + LMB i need to use sticky key.
On press:

bpy.context.scene.b_painter_brush = 'Brush Blur'; bpy.ops.paint.image_paint(mode='NORMAL')

On release i’m going back to previous brush:

bpy.context.scene.b_painter_brush = 'Brush Default'

Blender is changing tool but doesn’t using it - like pressing LMB is not doing any action ( besides changing the cursor )

Any idea how to resolve that problem?


πŸ”— View on Blender Artists