Blender Git Commit Log

Git Commits -> Revision ae33453

Revision ae33453 by Antonio Vazquez (master)
September 3, 2021, 13:24 (GMT)
GPencil: Smooth thickness when joining strokes

When joining two strokes in paint mode using the auto merge option, the join was very hard if the thickness was too different.

This patch adds a smooth to the join in order to get better transition.

Also fixed the problem to join existing strokes very far from actual stroke.

Some cleanup and rename of old code is included in order to make code more readable.

Reviewed By: pepeland

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

Commit Details:

Full Hash: ae334532cffb2dd9074454b9a7ba095430f18735
Parent Commit: f9ccd26
Lines Changed: +111, -17

11 Modified Paths:

/source/blender/blenkernel/BKE_gpencil_geom.h (+3, -2) (Diff)
/source/blender/blenkernel/intern/gpencil_geom.cc (+38, -2) (Diff)
/source/blender/editors/gpencil/gpencil_edit.c (+2, -2) (Diff)
/source/blender/editors/gpencil/gpencil_fill.c (+1, -1) (Diff)
/source/blender/editors/gpencil/gpencil_interpolate.c (+1, -1) (Diff)
/source/blender/editors/gpencil/gpencil_paint.c (+17, -4) (Diff)
/source/blender/editors/gpencil/gpencil_primitive.c (+14, -2) (Diff)
/source/blender/editors/gpencil/gpencil_sculpt_paint.c (+1, -1) (Diff)
/source/blender/editors/gpencil/gpencil_utils.c (+26, -1) (Diff)
/source/blender/editors/include/ED_gpencil.h (+7, -0) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpencilsmooth.c (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021