Sculpt/Paint/Edit Workflow Suite (New: Brush Quickset fixed for 2.83!)

Same issue for me with Blender 2.93.0 master branch.
Please update your addon, I can’t live without it anymore, don’t even remember the vanilla shortcuts for setting my brushes sizes and falloffs :wink:

Are you using the default download ?

@Stefakapapy, @Zelfor,

This is a version i modified works for me in 2.93 and 3.0 so should work for both of you hopefully
brush_quickset.zip (5.2 KB)
.

2 Likes

Thank you so much @Lamia, it works like a magnificient charm :wink:

1 Like

Thank You!
I tried to change it here but I couldn’t!!!
Thank you so much!!!

1 Like

Thanks again!

I put it for the other modes too

===========================

def register():
bpy.utils.register_class(PAINT_OT_brush_modal_quickset)

cfg = bpy.context.window_manager.keyconfigs.addon
if not cfg.keymaps.__contains__('Sculpt'):
    cfg.keymaps.new('Sculpt', space_type='EMPTY', region_type='WINDOW')
kmi = cfg.keymaps['Sculpt'].keymap_items
kmi.new('brush.modal_quickset', 'F', 'PRESS')

cfg = bpy.context.window_manager.keyconfigs.addon
if not cfg.keymaps.__contains__('Image Paint'):
    cfg.keymaps.new('Image Paint', space_type='EMPTY', region_type='WINDOW')
kmi = cfg.keymaps['Image Paint'].keymap_items
kmi.new('brush.modal_quickset', 'F', 'PRESS')

cfg = bpy.context.window_manager.keyconfigs.addon
if not cfg.keymaps.__contains__('Vertex Paint'):
    cfg.keymaps.new('Vertex Paint', space_type='EMPTY', region_type='WINDOW')
kmi = cfg.keymaps['Vertex Paint'].keymap_items
kmi.new('brush.modal_quickset', 'F', 'PRESS')

cfg = bpy.context.window_manager.keyconfigs.addon
if not cfg.keymaps.__contains__('Weight Paint'):
    cfg.keymaps.new('Weight Paint', space_type='EMPTY', region_type='WINDOW')
kmi = cfg.keymaps['Weight Paint'].keymap_items
kmi.new('brush.modal_quickset', 'F', 'PRESS')

def unregister():
bpy.utils.unregister_class(PAINT_OT_brush_modal_quickset)

cfg = bpy.context.window_manager.keyconfigs.addon
if cfg.keymaps.__contains__('Sculpt'):
    for kmi in cfg.keymaps['Sculpt'].keymap_items:
        if kmi.idname == 'brush.modal_quickset':
            cfg.keymaps['Sculpt'].keymap_items.remove(kmi)
            break
            
cfg = bpy.context.window_manager.keyconfigs.addon
if cfg.keymaps.__contains__('Image Paint'):
    for kmi in cfg.keymaps['Image Paint'].keymap_items:
        if kmi.idname == 'brush.modal_quickset':
            cfg.keymaps['Image Paint'].keymap_items.remove(kmi)
            break
            
cfg = bpy.context.window_manager.keyconfigs.addon
if cfg.keymaps.__contains__('Vertex Paint'):
    for kmi in cfg.keymaps['Vertex Paint'].keymap_items:
        if kmi.idname == 'brush.modal_quickset':
            cfg.keymaps['Vertex Paint'].keymap_items.remove(kmi)
            break	

cfg = bpy.context.window_manager.keyconfigs.addon
if cfg.keymaps.__contains__('Weight Paint'):
    for kmi in cfg.keymaps['Weight Paint'].keymap_items:
        if kmi.idname == 'brush.modal_quickset':
            cfg.keymaps['Weight Paint'].keymap_items.remove(kmi)
            break

===========================

1 Like