Graph Editor part of the changes in the previous commit...
[blender.git] / source / blender / editors / space_action / action_select.c
index 4e12833f8b89938f726b73ca065ce89bf7cc1e1d..eab8df84adf9d81f47bf5d2abcadb83e48ab35f8 100644 (file)
@@ -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;
        }