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/blenkernel/intern/action.c | |
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/blenkernel/intern/action.c')
-rw-r--r-- | source/blender/blenkernel/intern/action.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/action.c b/source/blender/blenkernel/intern/action.c index 4c5b7f5fcaf..5b42948072f 100644 --- a/source/blender/blenkernel/intern/action.c +++ b/source/blender/blenkernel/intern/action.c @@ -867,7 +867,8 @@ void calc_action_range(const bAction *act, float *start, float *end, short incl_ float nmin, nmax; /* get extents for this curve */ - calc_fcurve_range(fcu, &nmin, &nmax); + // TODO: allow enabling/disabling this? + calc_fcurve_range(fcu, &nmin, &nmax, FALSE); /* compare to the running tally */ min= MIN2(min, nmin); |