Blender Git Loki

Git Commits -> Revision f13bedd

Revision f13bedd by Joseph Eagar (sculpt-dev)
November 25, 2021, 19:34 (GMT)
Sculpt-dev: sculpt_init_tool_override_channels
related fixes

Various fixes so sculpt_init_tool_override_channels
for shift-smooth can replicate the prior behavior:

* Brush spacing will now look up brush channel
spacing directly for sculpt, instead of relying
on copying the channel data into Brush.
* Brush spacing code will now use brush channel
pressure for sculpt. Fixes broken shift-smooth
pen pressure.
* The falloff_curve channel is now automatically
added (before it was only used internally by
command lists, the code was defaulting to
the Brush field otherwise).
* BrushCurve now has an option for custom curve
presets to have negative slopes.
* The Falloff panel now puts the type dropbox
inside the panel header.
* Falloff panel also now uses brush channel data in
sculpt mode.
* falloff_shape is now a brush channel

In a somewhat unrelated change, I also unnested the
Brush Settings subpanels. It's been driving me
insane for a very, very long time. Much more
usable this way.

Commit Details:

Full Hash: f13bedd649e64a7f02cb559c007c0cbb9ce6aa0c
Parent Commit: 9f45edd
Lines Changed: +497, -182

24 Modified Paths:

/intern/cycles/kernel/CMakeLists.txt (+2, -0) (Diff)
/release/scripts/startup/bl_ui/properties_paint_common.py (+48, -11) (Diff)
/release/scripts/startup/bl_ui/space_view3d.py (+10, -4) (Diff)
/release/scripts/startup/bl_ui/space_view3d_toolbar.py (+13, -13) (Diff)
/source/blender/blenkernel/BKE_brush.h (+6, -3) (Diff)
/source/blender/blenkernel/BKE_brush_engine.h (+12, -4) (Diff)
/source/blender/blenkernel/BKE_paint.h (+2, -1) (Diff)
/source/blender/blenkernel/intern/brush.c (+34, -14) (Diff)
/source/blender/blenkernel/intern/brush_channel_define.h (+23, -4) (Diff)
/source/blender/blenkernel/intern/brush_engine.c (+47, -8) (Diff)
/source/blender/blenkernel/intern/brush_engine_presets.c (+129, -68) (Diff)
/source/blender/blenkernel/intern/paint.c (+5, -0) (Diff)
/source/blender/blenkernel/intern/pbvh.c (+1, -1) (Diff)
/source/blender/blenloader/intern/versioning_300.c (+33, -0) (Diff)
/source/blender/editors/sculpt_paint/paint_cursor.c (+6, -4) (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_stroke.c (+49, -17) (Diff)
/source/blender/editors/sculpt_paint/paint_vertex.c (+52, -16) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+13, -9) (Diff)
/source/blender/editors/sculpt_paint/sculpt_automasking.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt_intern.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_sculpt_brush_types.h (+3, -1) (Diff)
/source/blender/makesrna/intern/rna_brush_engine.c (+5, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021