diff options
author | Joshua Leung <aligorith@gmail.com> | 2011-03-17 13:02:37 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2011-03-17 13:02:37 +0300 |
commit | e3842d1ca4dd2fdc58b8d7819a8a02a688753146 (patch) | |
tree | b196019c622710a5277b4a7218af06afdb0bccec /source/blender/editors/space_graph/graph_intern.h | |
parent | 58c8dca7a60ba369eca95c99da2c3885e3b401c2 (diff) |
Bugfix [#26505] zoom in selected keys on graph editor
Not really a "bug", but it was on my todo anyways. Based on patch
[#26508] by Campbell, with a few modifications including extending
this to the Action/DopeSheet editor too.
Diffstat (limited to 'source/blender/editors/space_graph/graph_intern.h')
-rw-r--r-- | source/blender/editors/space_graph/graph_intern.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/space_graph/graph_intern.h b/source/blender/editors/space_graph/graph_intern.h index f0a3f797a2b..feb17827db7 100644 --- a/source/blender/editors/space_graph/graph_intern.h +++ b/source/blender/editors/space_graph/graph_intern.h @@ -92,10 +92,11 @@ enum { /* ***************************************** */ /* graph_edit.c */ -void get_graph_keyframe_extents (struct bAnimContext *ac, float *xmin, float *xmax, float *ymin, float *ymax); +void get_graph_keyframe_extents (struct bAnimContext *ac, float *xmin, float *xmax, float *ymin, float *ymax, const short do_selected); void GRAPH_OT_previewrange_set(struct wmOperatorType *ot); void GRAPH_OT_view_all(struct wmOperatorType *ot); +void GRAPH_OT_view_selected(struct wmOperatorType *ot); void GRAPH_OT_click_insert(struct wmOperatorType *ot); void GRAPH_OT_keyframe_insert(struct wmOperatorType *ot); |