1
1

Compare commits

...

1 Commits

Author SHA1 Message Date
d1fa04680c Fix T82588: Box Select selects keyframes hidden by "Only Show Selected"
Select only editable keys on selected curves when "Only Show Selected Curves" is enabled in the Graph Editor's View menu.

This prevents selecting invisible keys with box, circle, and lasso select in the Graph Editor.
2020-11-16 18:30:04 +01:00

View File

@@ -529,6 +529,9 @@ static void box_select_graphkeys(bAnimContext *ac,
/* filter data */
filter = (ANIMFILTER_DATA_VISIBLE | ANIMFILTER_CURVE_VISIBLE | ANIMFILTER_NODUPLIS);
if (sipo->flag & SIPO_SELCUVERTSONLY) {
filter |= ANIMFILTER_FOREDIT | ANIMFILTER_SELEDIT;
}
ANIM_animdata_filter(ac, &anim_data, filter, ac->data, ac->datatype);
/* get beztriple editing/validation funcs */