From bbc4a92318758ae104f796f62c7dceb1a972da44 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 9 Jul 2015 14:31:27 +1000 Subject: Curve selection, de-duplicate & cleanup --- source/blender/editors/space_graph/graph_buttons.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/space_graph/graph_buttons.c') diff --git a/source/blender/editors/space_graph/graph_buttons.c b/source/blender/editors/space_graph/graph_buttons.c index e0b62722d57..451af0b50f7 100644 --- a/source/blender/editors/space_graph/graph_buttons.c +++ b/source/blender/editors/space_graph/graph_buttons.c @@ -229,7 +229,7 @@ static short get_active_fcurve_keyframe_edit(FCurve *fcu, BezTriple **bezt, BezT * wants to edit numerically, there is likely to only be 1 vert selected */ for (i = 0, b = fcu->bezt; i < fcu->totvert; i++, b++) { - if (BEZSELECTED(b)) { + if (BEZT_ISSEL_ANY(b)) { /* found * - 'previous' is either the one before, of the keyframe itself (which is still fine) * XXX: we can just make this null instead if needed -- cgit v1.2.3