Blender Git Commit Log

Git Commits -> Revision e9607f4

Revision e9607f4 by Antonio Vazquez (master)
November 18, 2020, 20:35 (GMT)
GPencil: Automerge last drawn stroke with previous strokes

This option joins any stroke with an end near the actual stroke. Now it is not limited to the last stroke, any stroke in the same layer for the actual frame can be joined. The join can join two strokes drawing a third stroke.

If the end and the start of the result stroke are very small, the stroke is changed to be cyclic automatically.

There is a limit distance to join the stroke, if the distance is greater than this value, the strokes are not joined. Actually, a constant, threshold distance is used, but we could expose
as a parameter in the UI in the future.

The tool can be used with freehand drawing or with primitives.

Note: Great part of the patch is just a refactor of the old code to make it accessible and to keep code organized.

Reviewed By: mendio

Maniphest Tasks: T82377

Differential Revision:

Commit Details:

Full Hash: e9607f45d85df6df834a80f147b8c42ff12f56f2
Parent Commit: c126e27
Lines Changed: +910, -597

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2021