Blender Git Commit Log
Git Commits -> Revision da4138e
Revision da4138e by Joseph Eagar (sculpt-dev) October 15, 2021, 02:57 (GMT) |
Sculpt: sculpt colors fixes * Paint brush now uses its own temp attribute layers instead of hijacking MSculptVert->origcolor. * The various SCULPT_UNDO_XXX enums are now bit flags. * Fixed anchored/drag drop mode for the paint brushes. * Color hardening brush now works with dyntopo. * Added a CD_FLAG_ELEM_NOINTERP flag to the customdata API. If set it will either copy the first element in the sources list if CD_FLAG_ELEM_NOCOPY is unset, or nothing at all if it is. This necassary to properly support the design pattern whereby helper custom attributes reset themselves in each brush stroke by comparing a per-vertex stroke id with ss->stroke_id, thus obviating the need to walk the entire mesh at every stroke start. |
Commit Details:
Full Hash: da4138e1deb6c27e5f91db596d083d8efb0f2d5b
Parent Commit: 38c47e8
Lines Changed: +151, -59
7 Modified Paths:
/source/blender/blenkernel/intern/customdata.c (+39, -0) (Diff)
/source/blender/blenkernel/intern/pbvh.c (+3, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+50, -34) (Diff)
/source/blender/editors/sculpt_paint/sculpt_intern.h (+11, -9) (Diff)
/source/blender/editors/sculpt_paint/sculpt_paint_color.c (+46, -13) (Diff)
/source/blender/makesdna/DNA_brush_enums.h (+1, -2) (Diff)
/source/blender/makesdna/DNA_customdata_types.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/pbvh.c (+3, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+50, -34) (Diff)
/source/blender/editors/sculpt_paint/sculpt_intern.h (+11, -9) (Diff)
/source/blender/editors/sculpt_paint/sculpt_paint_color.c (+46, -13) (Diff)
/source/blender/makesdna/DNA_brush_enums.h (+1, -2) (Diff)
/source/blender/makesdna/DNA_customdata_types.h (+1, -0) (Diff)