Blender Git Loki
Git Commits -> Revision 58d7be5
Revision 58d7be5 by Joseph Eagar (sculpt-dev) November 4, 2021, 01:34 (GMT) |
Sculpt-dev: add tool slot override to sculpt.brush_stroke * Sculpt.brush_stroke now has a property to override the tool slot. * Note that this is somewhat different from how this was typically done in the past. Instead of physically switching slots we instead load the overriding slot's brush's channels into ss->cache->tool_override_channels. Basic idea is based off of {D6515} |
Commit Details:
Full Hash: 58d7be56424bbb2d59474ca9f57f3cc51034edab
Parent Commit: 04d1bdb
Lines Changed: +259, -157
8 Modified Paths:
/source/blender/blenkernel/intern/brush_engine_presets.c (+2, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_image.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_intern.h (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_utils.c (+13, -7) (Diff)
/source/blender/editors/sculpt_paint/paint_vertex.c (+2, -2) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+231, -130) (Diff)
/source/blender/editors/sculpt_paint/sculpt_dyntopo.c (+0, -12) (Diff)
/source/blender/editors/sculpt_paint/sculpt_intern.h (+9, -3) (Diff)
/source/blender/editors/sculpt_paint/paint_image.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_intern.h (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_utils.c (+13, -7) (Diff)
/source/blender/editors/sculpt_paint/paint_vertex.c (+2, -2) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+231, -130) (Diff)
/source/blender/editors/sculpt_paint/sculpt_dyntopo.c (+0, -12) (Diff)
/source/blender/editors/sculpt_paint/sculpt_intern.h (+9, -3) (Diff)