Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2015-02-06 19:46:05 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-02-06 19:47:06 +0300
commit8ab1188e395409eb0fd72a946a691482d660b7c6 (patch)
tree31ef50c9088c5971df6f676d4371c77200c1ed4a /source/blender/editors/space_graph
parent0e049e88e2169b831bb829bbff358b593ed228b8 (diff)
rename SIPO_AUTOVIEW -> SIPO_AUTO_VIEW_SELECTED
The term auto-view on its own isn't very meaningful
Diffstat (limited to 'source/blender/editors/space_graph')
-rw-r--r--source/blender/editors/space_graph/graph_select.c5
1 files changed, 3 insertions, 2 deletions
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;