Blender Git Loki

Git Commits -> Revision 4bb9fbd

Revision 4bb9fbd by Pablo Dobarro (master)
July 31, 2019, 11:04 (GMT)
Sculpt/Paint: Brush curve presets

This patch introduces the same presets that are used for proportional editing in the brush falloff menu. The user can select any of these presets or use the regular custom falloff curve. The presets are hardcoded formulas, so the falloff curve is not used when they are active.

This change improves the general feeling of the brushes and it is more convenient and simpler to use. The CUSTOM curve option should now be used in the case that an unusual deformation is needed, in other cases, the hardcoded curve presets should be the default.

The smooth curve presets is a must in the grab brush, as it fixes the deformation issue with the current custom curve setting. The user may try to adjust the deformation by tweaking the curve, but it is nearly impossible to replicate this desired behavior.

{F7636217}

Other brushes that are included in the sculpt branch also rely on this as they need specific hardcoded falloffs to produce the desired effect.

Reviewers: brecht, billreynish

Reviewed By: brecht

Subscribers: JulienKaspar

Differential Revision: https://developer.blender.org/D5367

Commit Details:

Full Hash: 4bb9fbd3a852c24db928f393467e1eab3a71af6c
Parent Commit: 03f652b
Lines Changed: +105, -29

7 Modified Paths:

/release/scripts/startup/bl_ui/space_image.py (+27, -17) (Diff)
/release/scripts/startup/bl_ui/space_view3d.py (+1, -1) (Diff)
/release/scripts/startup/bl_ui/space_view3d_toolbar.py (+13, -8) (Diff)
/source/blender/blenkernel/intern/brush.c (+31, -2) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+0, -1) (Diff)
/source/blender/makesdna/DNA_brush_types.h (+15, -0) (Diff)
/source/blender/makesrna/intern/rna_brush.c (+18, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021