Page MenuHome

Sculpt: Default brush presets and reset all operator
AcceptedPublic

Authored by Pablo Dobarro (pablodp606) on Thu, Feb 13, 2:22 AM.
Tokens
"Love" token, awarded by thecavelap."Love" token, awarded by wilBr."Mountain of Wealth" token, awarded by Schamph."Love" token, awarded by jubi."Love" token, awarded by MetinSeven."Like" token, awarded by Constantina32."Like" token, awarded by Fracture128."Love" token, awarded by RodDavis."100" token, awarded by Frozen_Death_Knight."Burninate" token, awarded by Alrob."Love" token, awarded by Zino.

Details

Summary

With the new properties and tweaks added to the sculpt brush code it is
now possible to have more than one meaningful brush preset per tool.

This patch refactors the way default brushes are reset and introduces a
BKE_brush_sculpt_presets function (similar the
BKE_brush_gpencil_presets) that creates a default library of brushes for
sculpt mode. This can be used with the Reset Sculpt Brushes operator
from the Sculpt menu.

The main purpose is to create a default set of brushes that can cover
most use cases by using the tools we have available. This way users
don't have to deal with the brush properties of each tool if they want
to achieve a specific effect that should be easily available by default.

It should be possible to choose these preconfigured brushes from a global
brush palette (similar to 2.79). By doing this change, we reduce the
amount of tools icons in the toolbar by merging them into categories
(the current blue/red/yellow categories) and we will expose all the
functionality of the brush tools from a single place in the UI. (This is
for a later patch).

The default brush set created in the new BKE_brush_sculpt_presets is not
final and it is currently incomplete, but it does not break any preset or
brush default value as it is in the patch. Getting the default brush set
right will require more experimentation and design iterations, but those
patches will just be changes to the values in that function.

Diff Detail

Repository
rB Blender
Branch
sculpt-reset-all (branched from master)
Build Status
Buildable 6597
Build 6597: arc lint + arc unit

Event Timeline

I see no issue with being able to easily reset all brushes.

As for the brush picker - this is tremendously important and essential that we improve. We do this by making a much better dynamic brush picker, by storing brushes globally instead of per blend, by generating a preview somehow, etc. IMO we should try and do these things together, perhaps in a branch, since they are inter-related.

global brush palette (similar to 2.79)

This is what everyone is waiting for. 👍

This revision is now accepted and ready to land.Mon, Feb 17, 3:18 PM