Blender Git Commit Log
Git Commits -> Revision e2a18af
Revision e2a18af by Antonio Vazquez (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) November 6, 2017, 15:55 (GMT) |
Smooth new points while drawing A new smooth algorithm is used for each new buffer point using the last two points to calculate the estimated position and average this point with the current mouse position. This smooth reduce the jitter of the stroke and allows to use lower post smooth values to reduce stroke change after finish stroke. Now the factor is hardcoded, but after some more testing maybe we need add a parameter by brush. |
Commit Details:
Full Hash: e2a18af69dcc9f48ca9a2bc1eca87abe91e851d4
Parent Commit: e456333
Lines Changed: +57, -1
1 Modified Path:
/source/blender/editors/gpencil/gpencil_paint.c (+57, -1) (Diff)