diff options
author | Joshua Leung <aligorith@gmail.com> | 2011-02-14 05:50:52 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2011-02-14 05:50:52 +0300 |
commit | b8a19d3a43c6b3f6842589344022fe82b3fcf6ea (patch) | |
tree | f95dd00e13dd44bcef60d49182b6b746a14827cd /source/blender/editors/space_action | |
parent | 52525a00f7f83e8349b98ab9824fe92cb41d2e8a (diff) |
Graph Editor part of the changes in the previous commit...
Diffstat (limited to 'source/blender/editors/space_action')
-rw-r--r-- | source/blender/editors/space_action/action_select.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/source/blender/editors/space_action/action_select.c b/source/blender/editors/space_action/action_select.c index 4e12833f8b8..eab8df84adf 100644 --- a/source/blender/editors/space_action/action_select.c +++ b/source/blender/editors/space_action/action_select.c @@ -741,15 +741,12 @@ static void actkeys_select_leftright (bAnimContext *ac, short leftright, short s ok_cb= ANIM_editkeyframes_ok(BEZT_OK_FRAMERANGE); select_cb= ANIM_editkeyframes_select(select_mode); - /* NOTE: we used to include FRAME_CLICK_THRESH in the tolerance for the current frame, - * but this has now been remove, since it is not so relevant anymore - */ if (leftright == ACTKEYS_LRSEL_LEFT) { ked.f1 = MINAFRAMEF; - ked.f2 = (float)(CFRA); + ked.f2 = (float)(CFRA + 0.1f); } else { - ked.f1 = (float)(CFRA); + ked.f1 = (float)(CFRA - 0.1f); ked.f2 = MAXFRAMEF; } |