This commit adds a "soft" selection to curve control points,
a sculpt tool to paint the selection, and uses the selection influence
in the existing sculpt brushes.
The selection is the inverse of the "mask" from mesh sculpt mode
currently. That change is described in more detail here: T97903
{F13090312 size=full}
{F13102974}
Since some sculpt tools are really "per curve" tools, they use the average
point selection of all of their points. The delete brush considers a curve
selected if any of its points have a non-zero selection.
There is a new option to choose the selection domain, which affects how
painting the selection works. You can also turn the selection off by clicking
on the active domain.
The main limitation currently is that we can't see the selection in the viewport by default.
For now, to see the selection one has to add a simple material to the curves object as shown below.
And one has to switch to Material Preview in the 3d view.
Note, with the approach the automatic switch between point and curve selection preview does not work.
{F13102969}
Old file from Hans: {F13090309}
Todo:
* When pressing A to select all, the viewport display does not work correctly. Looks like it uses the position attribute as color for some reason. To be investigated.