Further tweaks to drawing of non-selected graph editor keyframes
authorJoshua Leung <aligorith@gmail.com>
Fri, 6 Jul 2018 03:38:25 +0000 (15:38 +1200)
committerJoshua Leung <aligorith@gmail.com>
Fri, 6 Jul 2018 03:38:25 +0000 (15:38 +1200)
commit288bcb2593f52c47225da9ea8efe13d288d35892
tree4698e796b562ed4fd7bdaabcc0d050eb7cec4a31
parenta71c2deac5d1a80d802fb646474da2256d73d79f
Further tweaks to drawing of non-selected graph editor keyframes

The previous commit only solves the problem when using the default
theme using factory settings. For previously saved themes, there could
still be problems, as the alpha values were still 0.

This commit improves the logic here so that while keyframe points on
unselected F-Curves will still get faded out (to not stick out too much
from the curves they live on), but the effect will not be as pronounced
(i.e. the points will stay visible all the time).
source/blender/editors/space_graph/graph_draw.c