Blender Git Commit Log
Git Commits -> Revision 1e4b49d
Revision 1e4b49d by Joseph Eagar (sculpt-dev) November 27, 2021, 05:10 (GMT) |
Sculpt-dev: Add brush_eval field to Paint * Paint now has a brush_eval field which is used in leu of ->brush if non-null. * This lets us get rid of all the annoying: `brush = ss->cache ? ss->cache->brush : BKE_paint_brush` code. Now it's just BKE_paint_brush. * Used by SCULPT_run_command. * Also fixed nasty scene spacing bug. |
Commit Details:
Full Hash: 1e4b49d3c1d1667e5bb643f5b10caaeae7bd4724
Parent Commit: a662f81
Lines Changed: +58, -48
9 Modified Paths:
/release/scripts/startup/bl_ui/properties_paint_common.py (+5, -7) (Diff)
/source/blender/blenkernel/intern/brush_channel_define.h (+9, -1) (Diff)
/source/blender/blenkernel/intern/paint.c (+2, -2) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+33, -30) (Diff)
/source/blender/editors/sculpt_paint/sculpt_brushes.c (+4, -4) (Diff)
/source/blender/editors/sculpt_paint/sculpt_cloth.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt_dyntopo.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt_paint_color.c (+2, -2) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/brush_channel_define.h (+9, -1) (Diff)
/source/blender/blenkernel/intern/paint.c (+2, -2) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+33, -30) (Diff)
/source/blender/editors/sculpt_paint/sculpt_brushes.c (+4, -4) (Diff)
/source/blender/editors/sculpt_paint/sculpt_cloth.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt_dyntopo.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt_paint_color.c (+2, -2) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+1, -0) (Diff)