From 8ab1188e395409eb0fd72a946a691482d660b7c6 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 7 Feb 2015 03:46:05 +1100 Subject: rename SIPO_AUTOVIEW -> SIPO_AUTO_VIEW_SELECTED The term auto-view on its own isn't very meaningful --- source/blender/editors/space_graph/graph_select.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source/blender/editors/space_graph') diff --git a/source/blender/editors/space_graph/graph_select.c b/source/blender/editors/space_graph/graph_select.c index 136bcb6fb05..46a39806ad7 100644 --- a/source/blender/editors/space_graph/graph_select.c +++ b/source/blender/editors/space_graph/graph_select.c @@ -70,8 +70,9 @@ static void graphkeys_auto_view(bContext *C) { const SpaceIpo *sipo = CTX_wm_space_graph(C); - if (sipo && sipo->flag & SIPO_AUTOVIEW) + if (sipo && sipo->flag & SIPO_AUTO_VIEW_SELECTED) { WM_operator_name_call(C, "GRAPH_OT_view_selected", WM_OP_INVOKE_DEFAULT, NULL); + } } /* ******************** Deselect All Operator ***************************** */ @@ -875,7 +876,7 @@ static void select_moreless_graph_keys(bContext *C, bAnimContext *ac, short mode ked.data = NULL; /* only do auto view if a bezier point is selected */ - if (sipo->flag & SIPO_AUTOVIEW) { + if (sipo->flag & SIPO_AUTO_VIEW_SELECTED) { const FCurve *fcu = (FCurve *)ale->key_data; const BezTriple *bezt; unsigned int i; -- cgit v1.2.3