diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2015-04-13 15:30:17 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2015-04-13 15:30:24 +0300 |
commit | 364b6b29ff2ea19a31fdfc8e08b75ce0d46df40b (patch) | |
tree | 218281443faa4617bb5a899e375dec06a01de19a /source/blender/editors/include | |
parent | d1f9fcaabcc64f224467523bb1258c59ebfb8209 (diff) |
New operator for action and graph editor that centers around current
scene frame, bound to numberpad zero.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/UI_view2d.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/include/UI_view2d.h b/source/blender/editors/include/UI_view2d.h index 4d7446a7a81..430093b641b 100644 --- a/source/blender/editors/include/UI_view2d.h +++ b/source/blender/editors/include/UI_view2d.h @@ -233,7 +233,7 @@ void ED_keymap_view2d(struct wmKeyConfig *keyconf); void UI_view2d_smooth_view(struct bContext *C, struct ARegion *ar, const struct rctf *cur, const int smooth_viewtx); - +void UI_view2d_center_frame(struct bContext *C, int smooth_viewtx); #define UI_MARKER_MARGIN_Y (42 * UI_DPI_FAC) #endif /* __UI_VIEW2D_H__ */ |