Graph Editor: Attempts at Improving Curve Drawing
* Trying a slightly different approach with curve drawing. Now curves aren't drawn darker down the list, as that approach proved to have massive contrast issues all around. However, it's not completely back to the old rainbow style, as the colours are still grouped in 3's and 4's, only that they now use hue offsets... * Unselected curves are now drawn less opaque. However, selected curves still leave some brightness to be desired... * Bugfix - Deselecting keyframes in graph view now deselects the curves too.
This commit is contained in:
@@ -141,7 +141,9 @@ static void deselect_graph_keys (bAnimContext *ac, short test, short sel)
|
||||
/* Keyframes First */
|
||||
ANIM_fcurve_keys_bezier_loop(&bed, ale->key_data, NULL, sel_cb, NULL);
|
||||
|
||||
/* deactivate the F-Curve */
|
||||
/* deactivate the F-Curve, and deselect if deselecting keyframes */
|
||||
if (sel == SELECT_SUBTRACT)
|
||||
fcu->flag &= ~FCURVE_SELECTED;
|
||||
fcu->flag &= ~FCURVE_ACTIVE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user