Bugfix [#25674] No Box Select in Dopesheet

Border select was broken during Grease Pencil mode work
This commit is contained in:
Joshua Leung
2011-01-17 08:21:13 +00:00
parent fd448bcfc7
commit 80c81605a1

View File

@@ -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 */