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:
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;