b0e4c31bb081d190781932cf2d68336a817fd929
When a stroke has a gradient fill material that starts with a color with zero alpha, the tint modifier would behave as if it's not effective at all, this is caused by referencing source material color only with the starting color in this case, and since the alpha is zero, the tint is applied wrongly. Now use average color of start and end color of the gradient to mix with the tint modifier color. Note that this isn't technically correct still, since material gradient is computed in the shader, and tint modifier isn't able to get the acutal fill color at a given vertex (especially for the radial gradient case) however the result of this patch looks visually good enough, and users can always set all alpha to 1 when they feel the color is off. Pull Request: https://projects.blender.org/blender/blender/pulls/134549
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
