Open Pullusb opened 1 month ago
Need to design how do the shortcut relate to the tool
2 operator can exists.
Or an all in one operator. When no name specified in ops/keymap properties and input is a number key (top row or numpad), use order in stack.
If a name is specified, trigger the associated tool preset
Need to create default items in collection and make sure those are not tempered with when user has customized the list Also provide a "Reset to default"
Collection property in addon preferences removed
Using keymap item as list of item to display
Todo: Change tools presets so that default brushs opacity is set to 100% and have bigger radius
1. Add Tool presets
Create standalone tool settings (for now exists only as shortcut)
properties of a tool setting items
name
: Name of the tool preset used as identifiermode
: Mode to swap to if specifiedlayer
: layer name to swap to if existsmaterial
: material to swap to if existstool
: identifier of the tool to use (this will probably change in 4.3)brush
: name of the brush to use within tool (adjust in 4.3)icon
: Icon to display (a blender icon for buttons and gizmos)show
: Display the tool in UI (when not, can still be called using shortcut)2. Create Tool Preset UI
Display Tool presets in viewport or as buttons in sidebar
In viewport Gizmos or openGL draw
Having an Open GL draw can add custom icons with bigger size and display anywhere on viewport.