Post #3331: I had the same problem with sculpt, vertex and weight paint
π Metadata
- Author: noKeyframes
- Date: 2020-06-05 21:10:49
- Type:
answer - Quality Score: 8/10
- Reply to: post_03330
- Replies (1): post_03334
π·οΈ Tags
pie-menu hotkeys intermediate solved
βοΈ Related PME Features
- Pie Menu Editor
- Python Scripting
- Property Editor
π¬ 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