diff options
author | Joshua Leung <aligorith@gmail.com> | 2011-01-17 11:21:13 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2011-01-17 11:21:13 +0300 |
commit | 80c81605a1b9fb34d8b5ff9273b42be3ec522bc5 (patch) | |
tree | cd4482c5e90f9a5af455ea39cdcab58888451830 /source/blender | |
parent | fd448bcfc7a4bfb3698ec8d88094d439b94a1a92 (diff) |
Bugfix [#25674] No Box Select in Dopesheet
Border select was broken during Grease Pencil mode work
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/space_action/action_select.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/space_action/action_select.c b/source/blender/editors/space_action/action_select.c index 1ae26421152..687520050f1 100644 --- a/source/blender/editors/space_action/action_select.c +++ b/source/blender/editors/space_action/action_select.c @@ -253,10 +253,10 @@ static void borderselect_action (bAnimContext *ac, rcti rect, short mode, short !((ymax < rectf.ymin) || (ymin > rectf.ymax)) ) { /* loop over data selecting */ - if (ale->type == ANIMTYPE_FCURVE) - ANIM_animchannel_keyframes_loop(&ked, ale, ok_cb, select_cb, NULL, filterflag); - else if (ale->type == ANIMTYPE_GPLAYER) + if (ale->type == ANIMTYPE_GPLAYER) borderselect_gplayer_frames(ale->data, rectf.xmin, rectf.xmax, selectmode); + else (ale->type == ANIMTYPE_FCURVE) + ANIM_animchannel_keyframes_loop(&ked, ale, ok_cb, select_cb, NULL, filterflag); } /* set minimum extent to be the maximum of the next channel */ |