📋 Metadata

💬 Content

I had the same problem with sculpt, vertex and weight paint

There is a workaround for this, after you add it to the menu you have to replace paint_settings() for the correct path,
example:
paint_settings().brush.use_accumulate doesn’t work

C.tool_settings.weight_paint.brush.use_accumulate works

You can do this for any case in the specific painting/sculpt mode, here are the working paths for every one of them (this is always in the property tab):

For sculpt: C.tool_settings.sculpt
For vertex paint: C.tool_settings.vertex_paint
For weight paint: C.tool_settings.weight_paint

In your case if you add those 3 things you are gonna get:

paint_settings().brush.blend
paint_settings().brush.use_accumulate
paint_settings().brush.use_frontface

And it should be:

C.tool_settings.weight_paint.brush.blend
C.tool_settings.weight_paint.brush.use_accumulate
C.tool_settings.weight_paint.brush.use_frontface

Hope it helps.


❤️ 1 likes


🔗 View on Blender Artists