Blender Git Loki

Git Commits -> Revision 8d45a96

Revision 8d45a96 by Falk David (master)
March 31, 2021, 12:19 (GMT)
Fix T87082: Smooth thickness not working

When using the smooth operator, the thickness would not be
smoothed on the first iteration. This was becasue the inner loop
was set to run `r * 20` times but `r` starts at 0.

The fix makes sure that "Smooth Thickness" works on the first
iteration by using a fixed value of `20` as the loop limit. This
makes sure that for every iteration, we run the smoothing of the
thickness 20 more times.

Reviewed By: antoniov

Maniphest Tasks: T87082

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

Commit Details:

Full Hash: 8d45a9678955694cdd44aa709b5175308821dbba
Parent Commit: f02e1a7
Lines Changed: +1, -1

1 Modified Path:

/source/blender/editors/gpencil/gpencil_edit.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021