Page MenuHome

Sculpt: Show paint brush cursor in all tools
ClosedPublic

Authored by Pablo Dobarro (pablodp606) on Oct 1 2020, 1:52 AM.
Tokens
"Love" token, awarded by chironamo."Love" token, awarded by Anubis."Like" token, awarded by Alrob."Love" token, awarded by Brandon777."Like" token, awarded by erickblender."Like" token, awarded by JulienKaspar.

Details

Summary

This patch enables the paint brush cursor with all tools in sculpt mode,
even with the ones that are not brushes. The motivations for this change
are:

  • The filters are using the position of the active vertex for certain features without any visualization of what the active vertex is.
  • You can call operators like mask expand (which depends on the brush cursor position and active vertex) with a non brush tool enabled.
  • Having the cursor in the rest of the tools allows to have a scene scale representation of the radius and a direct control of radius and strength (using the current brush shortcuts), which will allow to make features more intuitive without relying on modifying values in the topbar. For example, the brush radius can be used to control the depth of the cut in the trimming tools or the size of the sphere in the sphere mesh filter

Diff Detail

Repository
rB Blender
Branch
always-show-cursor (branched from master)
Build Status
Buildable 10505
Build 10505: arc lint + arc unit

Event Timeline

Pablo Dobarro (pablodp606) requested review of this revision.Oct 1 2020, 1:53 AM

I already discussed this change with @Julien Kaspar (JulienKaspar) and @Daniel Bystedt (dbystedt) and we all agree that this change will be useful for the new features (like D9129, or controlling the filter strength directly with the brush strength shortcuts).
@Pablo Vazquez (pablovazquez) Do you think this is OK?

Absolutely! The possibilities that this opens are huge.

This revision is now accepted and ready to land.Oct 9 2020, 2:02 PM

Great work, Pablo! I can't wait to try this out :-)