Blender Git Loki
Git Commits -> Revision 0d5ec99
Revision 0d5ec99 by Pablo Dobarro (master) October 15, 2020, 17:00 (GMT) |
Sculpt: Experimental Pen Tilt Support This adds support for pen tilt in sculpt mode. For now, pen tilt is used by tweaking the tilt strength property, which controls how much the pen angle affects the sculpt normal. This is available in Draw, Draw Sharp, Flatten, Fill, Scrape and Clay Strips brushes, but it can be enabled in more tools later. The purpose of this patch is to have a usable implementation of pen tilt in a painting mode, so users can test and see in which hardware and platforms this feature is supported and how well it works. If it works ok, more tools and features that rely on pen tilt can be implemented, like brushes that blend between two deformations depending on the angle. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8893 |
Commit Details:
Full Hash: 0d5ec990a9844e639fa6ab989b14b2e051ac8c42
Parent Commit: 6dda077
Lines Changed: +94, -2
9 Modified Paths:
/release/scripts/startup/bl_ui/properties_paint_common.py (+4, -0) (Diff)
/release/scripts/startup/bl_ui/space_userpref.py (+1, -0) (Diff)
/source/blender/editors/sculpt_paint/paint_stroke.c (+12, -0) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+26, -0) (Diff)
/source/blender/editors/sculpt_paint/sculpt_intern.h (+7, -0) (Diff)
/source/blender/makesdna/DNA_brush_types.h (+3, -1) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+3, -1) (Diff)
/source/blender/makesrna/intern/rna_brush.c (+33, -0) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+5, -0) (Diff)
/release/scripts/startup/bl_ui/space_userpref.py (+1, -0) (Diff)
/source/blender/editors/sculpt_paint/paint_stroke.c (+12, -0) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+26, -0) (Diff)
/source/blender/editors/sculpt_paint/sculpt_intern.h (+7, -0) (Diff)
/source/blender/makesdna/DNA_brush_types.h (+3, -1) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+3, -1) (Diff)
/source/blender/makesrna/intern/rna_brush.c (+33, -0) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+5, -0) (Diff)