Blender Git Commit Log

Git Commits -> Revision e986243

August 22, 2019, 10:02 (GMT)
GPencil: Create Linear gradient fill colors in SVG conversion

There are several limitations in this conversion because SVG support multiple color, but GP only 2. For GP only the extreme colors (first and last) are used.

The mix factor is always set to 0.5.

The angle of the gradient is calculated using the direction of the line defined in Linear gradient.

Commit Details:

Full Hash: e9862431cc7cea2d914a804129a4ba50857aedf6
Parent Commit: 3036c1f
Lines Changed: +18, -7

1 Modified Path:

/source/blender/blenkernel/intern/gpencil.c (+18, -7) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021