Blender Git Loki

Git Commits -> Revision c11ae5c

Revision c11ae5c by Philipp Oeser (master)
October 13, 2020, 11:17 (GMT)
Fix sculpting/painting with viewport clipping and radial symmetry

This was reported for sculpting, the same is true for weightpaint or
vertexpaint though.

When viewport clipping and radial symmetry are enabled, the
'sculpt_brush_test_clipping()' function was not considering radial
symmetry at all, so if the coordinate was outside the clipping planes,
no action would take place. Now the coordinte is brought back to where
the stroke actually happens and that is checked against clipping.

Since other mirroring options while painting/sculpting (as well as
editmode operations with mirroring) usually still take place even if the
mirrored coord is outside the clipping planes, this should also be the
case for radial symmetry.

This grows the 'SculptBrushTest' struct a bit, but should be acceptable?

Fixes T81466

Maniphest Tasks: T81466

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

Commit Details:

Full Hash: c11ae5cd21259a991b3cb1febdd4184fa62d789a
Parent Commit: 3f78569
Lines Changed: +10, -0

2 Modified Paths:

/source/blender/editors/sculpt_paint/sculpt.c (+7, -0) (Diff)
/source/blender/editors/sculpt_paint/sculpt_intern.h (+3, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021