Blender Git Commit Log

Git Commits -> Revision 448669a

Revision 448669a by Pablo Dobarro (master)
December 9, 2019, 15:57 (GMT)
Fix T72092: Clay Strips Brush stroke crash with Brush Detail Size

Some other areas in the brush code outside sculpt mode assume that
pressure is multiplied directly on top of the initial size. This patch
calculates the pixel radius correctly using the brush size from sculpt
mode to get the dyntopo detail size.
When the new brush input system is in place, all these values will come
directly from the brush input code with all the custom curves applied
per brush, so all paint modes will have a correct brush behavior and all
this sculpt mode specific code won't be necessary.

Reviewed By: jbakker

Maniphest Tasks: T72092

Differential Revision: https://developer.blender.org/D6339

Commit Details:

Full Hash: 448669a630d318a5cd090af3083c985740a68e8e
Parent Commit: 40e2f44
Lines Changed: +11, -7

4 Modified Paths:

/source/blender/editors/sculpt_paint/paint_stroke.c (+1, -0) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+5, -5) (Diff)
/source/blender/editors/sculpt_paint/sculpt_intern.h (+2, -2) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+3, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021